3 ms·
“Has safety features in place”? I’m sorry, not gonna cut it. I mean, Nim looks cool, but I’m not sure what it does that is substantially new. Niceties are gene
by simonask 1y ago
“Has safety features in place”? I’m sorry, not gonna cut it.
I mean, Nim looks cool, but I’m not sure what it does that is substantially new. Niceties are generally not enough to foster adoption - something real has to be on the table that meaningfully opens up new avenues, unlocks new paths, enables new use cases.
I have the same criticism of Zig.
- archargelod 1y agoNim has one of the most powerful metaprogramming systems out there. Hygienic templates, easy macros, but my favorite is the compile-time functions. Nim compiler has an embedded VM, so any Nim code (that doesn't rely on FFI) can run at compile time.
- simonask 1y agoI'm sure that's nice, but it's not a game changer. You can do metaprogramming in other languages as well, and maybe those languages get it not quire as right as Nim, but it's not enough to tip the scales.
- lionkor 1y agoMore powerful than zig's comptime?
- Tiberium 1y agoYes, compile-time execution in Nim is very natural, if you mark a variable "const" or use some other ways, you can run almost all pure-Nim code at compile-time without having to modify it.
- deleted 1y ago[deleted]
- xigoi 1y agoFor me, the killer feature of Nim is that I can just write code without having to constantly fight the language.
- metaltyphoon 1y agoYou just get to fight now at runtime!
- tucnak 1y ago> opens up new avenues, unlocks new paths, enables new use cases. These are all the same thing.