Comment

Comment by effn

Compared to Go:

* Rust does not have NULL!!

* Rust has parametric polymorphism.

* Rust has more predictable memory/cpu usage thanks to forgoing global GC for a novel memory management model based on stack allocation/RAII, immutability, isolated processes and reference counting.

* Rust has a very Erlang-like model of handling failures.

* Rust has typestate, which is an easy to use way of proving properties about your program statically, or check them dynamically via assertion.

* Rust has no shared mutable state.

Those are facts. My personal, more subjective, opinion is that Rust is a lot better thought out than either D or Go. If this niche is too crowded, I'd rather see them go and Rust win. :) But given that Rust lacks shared global GC, I guess you could say it's closer to C++

parent effn 16 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton