Python, Go and Rust All in Nim – A New Programming Language

Nim Programming Language

New programming languages are shaped every other day. But, what’s the motivation behind them? It could be surely the urge to expand the capabilities of existing programming languages or introduce new features. By working on the shortcomings of vintage programming languages, relatively fresher languages like Swift and Go have managed to persuade developers.

Today, I’m going to tell you about one such new language named Nim. It has been under development since 2008 and its most recent release is 0.16, which was made obtainable earlier this month.

The syntax of Nim might remind you of Python as it uses indented code blocks and similar syntax at some occasions. Just like Rust and Go, it uses strong types and first class functions. Nim is object oriented, but with composition preferred over inheritance.nim programming language

Nim, formerly called Nimrod, calls itself a statically typed, imperative programming language that “gives the programmer ultimate power without runtime efficiency” compromises. What does it mean? It means that Nim focuses on compile-time mechanisms in their various forms. A semantic model supports soft real time GC on thread local heaps.

Python, Go and Rust All in Nim - A New Programming Language
Python, Go and Rust All in Nim – A New Programming Language

Nim focuses on thread local heaps and messages passed between threads. As each of them has dedicated GC, there’s no need of “stop the world” mechanism. Talking about the benchmarks, it’s comparable to C.

Nim compiler produces C code by default. With the help of different compiler back-ends, one can also get JavaScript, C++, or Objective-C.

Nim compiler and library are MIT licensed. Thus, it allows you to use any license for your programs that use Nim.

What do you predict about Nim and other Programming Languages in 2017? Stay tuned with to get the newest trends in Programming & Coding! 🙂

Previous ArticleNext Article – is a computer & technology resource website. TechLinu provides up to date tutorials on computers, smartphone, games, cyber security, internet, programming, Linux, windows and how to blog and make money online.


Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe to our YouTube Channel & Get Access to FREE Tutorials! Subscribe Now
+ +