4 ms·
Just build it with asan and you will get all the safety, memory usage and slowness of a memory safe language.
by irungentoo 11y ago
Just build it with asan and you will get all the safety, memory usage and slowness of a memory safe language.
- bobdole1971 11y agoYou'd need UBsan as well, and even that doesn't catch everything. Regarding memory usage/slowness: why not OCaml, D, or Rust?
- chc 11y agoRust only recently hit 1.0, so it's pretty obvious why somebody would not have built their software using that.
- bobdole1971 11y agoYes, my mistake.
- Jfreegman 11y agoAlso, current benchmarks show Rust to be about ~3x slower than C, making it more comparable to Go or Java.
- chc 11y agoInteresting. Do you know of any good, recent benchmarks of Rust? I haven't seen a whole lot. The Benchmarks Game mostly appears to show Rust being closer than that in general, though the Rust benchmarks seem to be kind of crap.
- steveklabnik 11y agoA few months back, we were beating C on some benchmarks, though with the focus on semantics for 1.0, I'm sure there were some regressions.