Learn Rust in a Month of Lunches (MEAP v10)

Автор: literator от 8-08-2023, 16:06, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Learn Rust in a Month of Lunches (MEAP v10)
Автор: Dave MacLeod
Издательство: Manning Publications
Год: 2023
Страниц: 655
Язык: английский
Формат: pdf, epub, mobi
Размер: 10.2 MB

One month. One hour a day. That’s all it takes to start writing Rust code!

Learn Rust in a Month of Lunches teaches you the essential skills of Rust. By the time you’re done learning, you’ll be able to:

Build real software in Rust
Understand messages from the compiler and Clippy, Rust’s coding coach
Make informed decisions on the right types to use in any context
Make sense of the Rust standard library and its commonly used items
Use external Rust “crates” (libraries) for common tasks
Work with crates that use async Rust
Write simple declarative macros
Explore test driven development in Rust

Learn Rust in a Month of Lunches teaches you to write super fast and super safe Rust code in just 22 short lessons. Crystal-clear explanations and focused, relevant examples make it accessible to anyone with a beginning understanding of another language like Python or Java. You’ll go from the absolute basics all the way through to handling async Rust and writing your own macros.

about the technology
Developers love Rust! Rust is a true general purpose language, suitable for everything from system programming to web applications and games. It delivers the performance of low-level languages like C/C++ while providing memory safety, type safety, and a compiler that makes it difficult to compile bad code. Plus, Rust makes it easy to refactor your code without worrying about breaking anything. It’s a truly hassle-free programming experience.

The Rust language was released in only in 2015, and as of 2023 isn't even a decade old. It's quite new, but already very popular, appearing just about everywhere you can think of: Windows, Android, the Linux kernel, Amazon Web Services (AWS), Discord, Cloudflare, you name it. It really is incredible how popular Rust has become after less then a decade. Rust is popular because it gives you almost everything you could want in a language: the speed and control of languages like C or C++, the memory safety of other newer languages like Python, a rich type system that lets you avoid bugs, and a friendly compiler that helps you when you go wrong. It does this with some new ideas that are sometimes different from other languages. That means that there are some new things to learn, and you can't just "figure it out as you go along". Rust is a language that you have to think about for a while to understand.

So Rust is a language that is famously difficult to learn. But I don't agree that Rust is difficult. Programming itself is difficult. Rust just shows you these difficulties when you are writing your code, not after you start running it. That's where this saying comes from: "In Rust, you get the hangover first". In many other languages the 'party' starts first: your code compiles, and looks great! Then you run your code, and there's a lot to debug. That's when you get the hangover.

So the 'hangover' in Rust is because you have to satisfy the compiler that you are writing correct code. If your code doesn't satisfy the compiler, it won't run. You can't mix types together, you have to handle possible errors, you have to decide what to do when a value might be missing. But as you do that, the compiler gives you hints and suggestions to fix your code so that it will run. It's tough work but the compiler tries to guide you through the way. And when your code finally compiles, it works great.

about the book
Learn Rust in a Month of Lunches is a fast and friendly guide to Rust proficiency. Each lesson introduces a new feature of the language, from working with types to making sense of the Rust standard library. The book's examples are easy and fun to follow—such as explaining traits using role-playing game characters. Best of all, almost all code samples run in the browser-based Rust Playground. No need to install Rust to get started on a lesson!

Скачать Learn Rust in a Month of Lunches (MEAP V10)




ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.