Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

This is cool! Nim has been catching my interest lately, especially for writing compiled, imperative code, so I'm keen on seeing people trying it out.


sort by: page size:

I've been looking into nim lately (just for fun with the Advent of Code problems) and it looks fantastic. I plan to allocate more time to it in future definitely.

Whoa - Nim seems really cool! Thanks for mentioning it. I like that it also compiles to JS, and seems to be pretty active (latest release was just on Dec 31).

I am a big fan of Nim. It's one of the few languages that gets me excited lately as it feels like you can do pretty much anything that you could do in C++ but in simplified code and shorter dev times.

First time seeing .nim code in the wild! Seems like a fun/ fast language to use.

Same here. Nim has this elegance that is hard to qualify and impossibe to quantify, but it makes it a real pleasure to write code in it. Can't wait to get deeper into it.

This is pretty much what nim is btw. Very fun language in my experience.

Yeah, Nim is my favourite language currently! The expressivity and succinctness of Python with the speed of C, plus useful metaprogramming constructs. I recommend everyone to give it a go!

Interesting, the cleaned up syntax reminds me a lot of Nim :)

Nim is the most fun language I have tried. I feel way more productive in it :)

Nim is a lot of fun to write, and the language is small enough that you could build something fun / useful in a weekend. The community is also very responsive. Definitely worth checking out!

Nim is very underrated. It's among the fastest, has a python-like syntax and can compile to C, JavaScript and other languages.

I've been very happy to see this sort of activity around Nim recently.[1]

Developing in Nim feels so productive that I'm starting to use it in place of Perl/Ruby/Python for smaller "scripting" tasks. As a bonus, I end up with a portable executable as if I had written my tool in C. This makes it just about perfect (for me) as a true general purpose language.

[1] https://news.ycombinator.com/item?id=17710690


This is great news. Nim (and the team working on it) deserves much support and praise.

It is a language that enables C/C++ programmers to be more productive and makes performant programming approachable for beginners as well.


Nim is nice. I Don't Like It™ because it compiles to C, instead of a True™ compiler intermediate representation, but it's a solid language.

This looks really cool. I kind of liked the idea of Nim from the get-go (I'm a Python guy first and foremost), and liked the idea of a "fast compiled Python", but never enough to make the leap.

Maybe I can write my loops in this and dip my toes this way? Good stuff, I'll be keen to see how it evolves.


Nim is pretty cool, and I always look for a way to use it. Started a couple of side projects in Nim and it is a great balance of close to metal like C and expressive like Python, but with a proper type system.

My main criticism is that it feels like a large language with all kinds of weird features and you can write very clever and dangerous code. A tiny bit Go-like restraint and it would be perfect.


so glad I posted it, then :) I completely agree that Nim is a great first compiled language coming from those coming from R and Python!

I'm using Nim in production (combined with NodeJS) and I really like it. Cross-compiling is so easy. Testing is easy. Syntax is easy to read. I like it.

Edit: Email me if you'd like more info.


Nim is a thing of beauty. It has a well-thought syntax (some consider it to be similar to Python, but it removes many Python idiosyncrasies), state of the art type system with generics, beyond state of the art macro system, excellent performance (comparable to Rust or C), and it can work as a low-level or a high-level language. It is pragmatic: you can write functional or imperative code, neither is imposed on you. There are so many beautiful hacks I enjoy (e.g. unit tests are supposed to be included in each file, all files are compiled as executables, and you can run them to run the tests).

Here is a taste of what's possible: https://hookrace.net/blog/what-is-special-about-nim/

next

Legal | privacy