Practical Site Reliability Engineering
by Pethuru Raj Chelliah, Shreyash Naithani, Shailender Singh
Rust programming
Let's get started with the Rust language. Before going into detail about Rust programming, it is important to consider why we need it, bearing in mind we already have several other languages such as Java, C/C++, and Python. In C/C++/C# we have a lot of control over the hardware that we are running on, so we can optimize it properly. In C/C++/C# languages, we can have more control, as we can translate them directly to assembly code, but they are not very safe, as small mistakes can create big segfaults. On the other hand, we have the Python and Ruby languages, which give us more safety, but very little control over what's going on. This is where Rust comes into play. Using Rust, we have all the control, plus all the safety ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access