Programming Languages: Nim v1.0 Released

Andrew Comeau   September 24, 2019   Comments Off on Programming Languages: Nim v1.0 Released
“Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).” – Github description

Version 1.0 of the Nim programming language was released on September 23, 2019. According to the post on Nim’s site at Nim-Lang.org, This is a stable release of the language with long term support (LTS).

Nim is a compiled language. This means that the code can be compiled into executable files that can be run on multiple operating systems including Windows, Linux and MacOS. It also compiles to C++ and JavaScript and can run on micro-controllers and other embedded systems.

Nim is also statically typed which means that the compiler checks to ensure that variables and other objects are consistently treated as the type under which they are defined. This can prevent a lot of bugs at run-time.

The language is inspired by other popular languages, including C++ and Python. It has also been compared to Google’s Go language. Nim appears to be intended as a general purpose language with the home page encouraging users to “Build command-line applications, games, web servers, kernels and everything else in between”. The Karax project, available from Github, enables users to build single-page applications with Nim.

The Nim Team promises that future versions of the language will be backwards compatible and not break programs written with version 1.0. This guarantee covers the stable portions of the language and does not necessarily apply to experimental features documented in a special manual on their site. It also does not apply to any code features that are subsequently revealed to cause security risks.

Nim was originally developed in 2008 by Andreas Rumpf whose goal was to keep the language’s code small, simple and efficient. Now that the language has been released, Rumpf will work on improving developer tools for the language.

Nim is licensed under the MIT free software license and the language’s Github repository states that users are “explicitly permitted to develop commercial applications using Nim”.

Documentation, tutorials and more resources available at
https://nim-lang.org/learn.html .

More Nim Links and Resources:

ZDNet: Python-inspired Nim: Version 1.0 of the programming language launches

Nim Official Site

Nim on Twitter

Categories

About Andrew Comeau

Organizer of the Ocala I.T. Professionals. Software developer and consultant based in Ocala, Florida.