top | item 31927030

(no title)

pddpro | 3 years ago

Even Rust?

discuss

order

winrid|3 years ago

Nim gives you like 85% of the performance of Rust without having to worry about a borrow checker. It also solves concurrency problems via its use of Channels, like Go.

So it's just hard to justify using Rust, for me. Unless you're writing a DB or something where a GC is a no go. But Nim's memory management seems pretty good, and many things are stack allocated.

elcritch|3 years ago

Its nice being able to go all the way from fully GC reliant cyclic data-types with closures all the way to memory control-freak every byte and microsecond matters by using stack objects and 'var' parameters. Often you can keep 90% of the code and just tweak a few slow points.

tsoj|3 years ago

And for the stuff that matters, it is usually possible to tinker around enough to get it pretty much as good as Rust or C++.