Computer Science Canada

Nim, the programming language that was Nimrod

Author:  btiffin [ Tue Feb 03, 2015 10:11 pm ]
Post subject:  Nim, the programming language that was Nimrod

Do yourself a favour. Check out, Nim.

http://nim-lang.org/

And pages like, http://nim-lang.org/backends.html#c-invocation-example

It can't hurt knowing Nim over the next few years, in my old guy opinion.

It is a trans-compiler, (transpiler), translating Nim text to C, C++, Objective-C or Javascript (including a node.js target).

Autodoced in ReStructuredText, with builting nim doc

More Python syntax structure than C, all the power. Highly expressive, a lot of the existing POSIX toolchain, wrapped, increasing out of the box usability.

Emits a system.c file along with the trans-compilation program file. The (self-hosted) Nim compiler generates the source that would be the runtime library engine with most other programming systems. This is compiled into applications, for standalone binaries. Nice. (Large source emits, but C, compiled). Or web speed js.

Cheers


: