avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday June 15, 2024, 6:53 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Anyone tried the Nim language yet?  (Read 7114 times)


  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,906
    • View Profile
    • Mouser's Software Zone on
    • Read more about this member.
    • Donate to Member
Anyone tried the Nim language yet?
« on: January 21, 2017, 12:01 PM »
There was an article on slashdot recently about the Nim language, and I have to admit I'm intrigued by the motivational guiding principles:

"Nim is a statically typed, imperative programming language that tries to give the programmer ultimate power without compromises on runtime efficiency. This means it focuses on compile-time mechanisms in all their various forms.
Beneath a nice infix/indentation based syntax with a powerful (AST based, hygienic) macro system lies a semantic model that supports a soft realtime GC on thread local heaps. Asynchronous message passing is used between threads, so no "stop the world" mechanism is necessary. An unsafe shared memory heap is also provided for the increased efficiency that results from that model."


  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Anyone tried the Nim language yet?
« Reply #1 on: February 24, 2017, 02:29 PM »
I skimmed half of , and the basic syntax doesn't look bad... but indentation based syntax is enough to put me off, especially when I don't see something that strikes me as a killer feature.

A powerful macro system with the ability to modify the AST might be interesting, but... dunno. I'm just not "feeling it" :)
- carpe noctem


  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Anyone tried the Nim language yet?
« Reply #2 on: July 23, 2019, 08:14 AM »
Was testing someone's code recently and installed nim in the process.

In addition to the items advertised in the OP, it appears the resulting binaries appear to be on the small side, which seems nice.

On a side note, there appears to be ongoing work toward a functional REPL for it: