O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What is Rust and why should you care?

Rust is a programming language originally started by Graydon Hoare in ­2006. It's currently an open source project, developed mainly by a team in Mozilla and other developers. The first stable version, 1.0, was released in 2015.

While being a general purpose language, it is aiming for the space where C and C++ have dominated. Its defining principles that underline many of its design decisions are zero-cost abstractions and compiler-assisted resource safety.

One example of zero-cost abstractions is seen in Rust's iterators. They are an abstraction over loops that go through sequences, in roughly the same level that a markedly higher-level language such as Ruby has. However, their runtime cost is zero; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required