News for hackers. Stuff that matters.
Re:Performance Showdown: Rust vs Javascript (2020) by brundolf on Friday February 12, 2021 @11:47AM (#26115559)
IMO Rust's main performance advantages come from avoiding allocations. Not only does it give you more control over them like C and C++ do, it also lets you do things that you could technically do in those languages, but wouldn't, because they're too dangerous. So you avoid even more allocations in practice (you don't need to defensively clone strings, for example)

There are no comments on this comment yet.