News for hackers. Stuff that matters.
Re:A Rust Shaped Hole by blashyrk on Tuesday July 15, 2025 @08:40AM (#44570528)
Someone really needs to show Nim to the author :). It checks all of their boxes and then some
Re:A Rust Shaped Hole by Symmetry on Wednesday July 16, 2025 @03:02PM (#44585710)
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.
Re:A Rust Shaped Hole by timeon on Thursday July 17, 2025 @03:21AM (#44590644)
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.
Re:A Rust Shaped Hole by elcritch on Wednesday July 16, 2025 @03:04PM (#44585721)
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.