The Rust Programming Language

The Rust Programming Language

Robbert Haarman


Posted by inglorion
at 2013-04-03 20:53:27

Rust is a new programming language under development by Mozilla. It looks very promising to me. Features I like:

* Multi-paradigm.

* Focus on type safety, memory safety, concurrency and performance.

* Type safety.

* Type inference (though only locally).

* Bindings are immutable by default.

* If expressions, pattern matching, closures, macros.

* Methods, generics, and traits.

* Modules and separate compilation, orthogonal from each other and orthogonal to types.

* Condition system (though I haven't looked at it closely).

That is a lot to like. Things I have my doubts about: Apparently, there is no non-local control flow (like catch/throw). There is a result module which may make up for this, but I'd have to look closer.

All in all, it looks like this could be my new favorite programming language.