top | item 44570528

(no title)

blashyrk | 7 months ago

Someone really needs to show Nim to the author :). It checks all of their boxes and then some

discuss

order

elcritch|7 months ago

Yep it’s ideal for this sort of application without the headache of Rust. Plus it’s helpful it can compile to C,C++, or JavaScript. So take your pick.

Symmetry|7 months ago

I was thinking that too. There are many cases where you do want to manage memory yourself, and in that case you should likely use Rust or maybe Zig if you can choose your own tool. But if you don't want to manage your own memory Nim works nicely, though IMO it requires adherence to a style guide more than most languages.

timeon|7 months ago

Depends what you do but most of the time you do not need to do anything special about memory management in Rust. That is why people try to use it for other things then just system programming.