Hacker News new | ask | show | jobs
by lp4v4n 113 days ago
>rust programs are a lot of times faster [...] than C and C++ counterparts

Troll post? Or has fanboyism really gone this far?

2 comments

It's often basically true though - the guarantees that rust can make wrt to lifetimes and memory allocation clearly enable programs to allocate less and be more aggressive with what they do allocate (all while being a fairly high-level language - I don't know if most rust programmers actually know what memory safety is at this point)

I'm really not a huge fan of rust as a language but it is clearly delivering results in that e.g. I find myself actively hoping that people rewrite web tooling in rust and so on. C++ is a mess that should be allowed to die.

> it is clearly delivering results

Yeah, there are some results in Firefox and some results in Mesa and some results in the linux kernel, but that's about all.

Rust is much less likely to have heap leaks.