2022-02-02

Rust Buch

A Book about Rust

We wrote a book about Rust! It’s in German and can be bought as ebook or a version printed on dead trees.

You can get a copy here.

The cover of our book

The cover of our book

Short Summary

Dieses Buch vermittelt Anwendungsentwicklern Theorie und Praxis der Sprache Rust und zeigt, wo sie gewinnbringend in neuen Projekten verwendet und wie sie sich in bestehende Projekte gut integrieren lässt.

Es illustriert alle Inhalte mit zahlreichen Rust-Beispielen. Nach einer Einführung in die Grundlagen, Nebenläufigkeit und das Testen mit Rust kommt der praktische Teil.

Anhand einer Webapplikation und ihrer Aufteilung in Microservices werden die Vorteile und Eigenheiten der Sprache Rust anschaulich vermittelt. Systemnahe Programmierung, die Kommunikation mit Sprachen wie Java, aber auch die Verwendung von WebAssembly werden ebenfalls betrachtet.

Nach der Lektüre dieses Buchs können Sie produktiv in Rust programmieren und haben neben den Grundlagen ein gutes Verständnis für typische Anwendungsbereiche der Sprache wie WebAssembly, Systemnahe Programmierung oder Einbindung in bestehende Umgebungen über Language Bindings. ( from here )

Isn’t this redundant with TRPL?

Luckily there is the book The Rust Programming Language. It is continuously updated free and easily accessible. So why write a book about Rust?

With our book we want to provide an opinionated look on Rust and a guided learning approach for application developers. While TRPL does an excellent job on describing the features of the language and many of its peculiarities, TRPL can be quite overwhelming for people wanting to write a small project in rust to decide whether the language fits them. So we picked exactly that niche: Application developers, looking for a straight forward guide to get something to run. We therefore do not repeat the things written in TRPL, we rather refer the reader to TRPL when ever the topic leaves the scope of the book.

In many cases, there are many ways to achieve the same things in rust. We show only a selected few of them and if applicable, refer the reader to all the other ways documented in the reference doc. By doing so, we can keep the book short enough to include topics that our targeted audience is interested in. One example for this is whether Rust is a good fit for your REST API. While the answer (as always) is “it depends”, we show the reader one way of doing it in Rust and guide them through evaluating the problems and benefits of Rust in this context for themselves.


Associated Tags: