Rust by Example

Collective of authors

Читать онлайн

Скачать

Начало книги

Rust is a modern systems programming language focusing on safety, speed, and concurrency. It accomplishes these goals by being memory safe without using garbage collection.

Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries. To get even more out of these examples, don't forget to install Rust locally and check out the official docs. Additionally for the curious, you can also check out the source code for this site.

Now let's begin!

This is the source code of the traditional Hello World program.

// This is a comment, and is ignored by the compiler

// You can test this code by clicking the "Run" button over there ->

// or if you prefer to use your keyboard, you can use the "Ctrl + Enter" shortcut

// This code is editable, feel free to hack it!

// You can always return to the original code by clicking the "Reset" button ->

// This is the main function

Читать дальше →

Жанр
Учебные пособия, самоучители
Издание
2021
Язык
ru
Размер FB2
635,9 КБ
Добавлена