• Complain

Claus Matzinger - Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem

Here you can read online Claus Matzinger - Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2022, publisher: BPB Publications, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Claus Matzinger Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem
  • Book:
    Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem
  • Author:
  • Publisher:
    BPB Publications
  • Genre:
  • Year:
    2022
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Become a Rustacean and a successful software engineer

Key Features

Introduces Rusts fundamentals, key concepts, syntax, toolkit, and frameworks

Extensive examples demonstrating dependable, efficient, and understandable code for producing maintainable software

Includes coding challenges and useful exercises to make learning to code fun

Description

Learn Rust Programming assists every programmer in learning Rust and filling in the gaps left by other programming languages in developing full-proof apps and systems. This book covers every vital feature a programmer requires, including basic principles, syntax, clean coding, application testing, popular libraries, and numerous examples and small programmes.

As a first step in understanding the language, this book tries to present a profoundly practical method for overcoming this learning curve. Using engaging coding challenges and practical projects, the reader can anticipate learning programming fundamentals, developing advanced concurrent code, contributing to open-source projects, and ultimately pursuing a career in Rust. In addition to programming, this book covers the fundamentals of software engineering to develop maintainable and well-documented projects with the help of built-in tools.

As novice software engineers, readers of this book will be able to develop excellent software independently as part of a bigger team. Using Rust, they can join one of the numerous crypto, gaming, IoT, or cloud infrastructure organizations to mark their success of knowledge.

What you will learn

Learn Rusts syntax, variables, control structures, enums, and traits.

Write unit tests, integration tests, and documentation for the software codes.

Use data structures, commands for running cargo, and any third-party libraries.

Create durable and maintainable programmes by structuring code correctly.

Use generics, lifetimes, I/O runtimes, concurrency, and futures in your code.

Developing declarative macros and taking advantage of heap memory.

Who this book is for

This book interests all kinds of sound programmers who want their applications to be efficient and reliable over time. It also attracts novices and recent graduates who wish to become young programmers with a solid grasp of the programming language of the 21st century.

Table of Contents

1. Building the basics

2. Controlling the program flow

3. Organizing for reuse

4. Interfacing with code and errors

5. Borrowing ownership with scopes

6. Working with collections

7. Reading input and writing output

8. Using crates with cargo

9. Testing what you build

10. Documenting what you build

11. Generating code with macros

12. Using heap memory effectively

13. Running concurrent code

14. Writing async code

15. Working with generics

16. Calling unsafe and foreign functions

Claus Matzinger: author's other books


Who wrote Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Table of Contents
Guide

Learn Rust Programming Safe Code Supports Low Level and Embedded Systems - photo 1

Learn
Rust Programming

Learn Rust Programming Safe Code Supports Low Level and Embedded Systems Programming with a Strong Ecosystem - image 2

Safe Code, Supports Low Level and Embedded
Systems Programming with a Strong Ecosystem

Learn Rust Programming Safe Code Supports Low Level and Embedded Systems Programming with a Strong Ecosystem - image 3

Claus Matzinger
Learn Rust Programming Safe Code Supports Low Level and Embedded Systems Programming with a Strong Ecosystem - image 4

www.bpbonline.com

Copyright 2022 BPB Online

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor BPB Online or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

BPB Online has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, BPB Online cannot guarantee the accuracy of this information.

Group Product Manager: Marianne Conor

Publishing Product Manager: Eva Brawn

Senior Editor: Connell

Content Development Editor: Melissa Monroe

Technical Editor: Anne Stokes

Copy Editor: Joe Austin

Language Support Editor: Justin Baldwin

Project Coordinator: Tyler Horan

Proofreader: Khloe Styles

Indexer: V. Krishnamurthy

Production Designer: Malcolm D'Souza

Marketing Coordinator: Kristen Kramer

First published: July 2022

Published by BPB Online

WeWork, 119 Marylebone Road

London NW1 5PU

UK | UAE | INDIA | SINGAPORE

ISBN 978-93-55511-546

www.bpbonline.com

Dedicated to

My wife and my daughter.

About the Author

Claus Matzinger: In the last 10 years as a Software Engineer I have worked with many programming languages, but Rust stood out from the beginning. With its unique approaches to some of the most challenging issues when developing large-scale applications.

After getting to know the language in its infancy, I spoke at and hosted several Rust Meetups (in Munich, Berlin, Linz, ), joined the official Community team, connected Microsofts security engineers with the Rust core team, and wrote several books and courses on Rust.

Today, I am a senior engineer working on a major Rust code base in FinTech, covering everything from no_std code, to different CPU architectures, and soon WebAssembly. In the past, I have created games for improving mental health, helped build a distributed SQL database at a startup, maintained a Smalltalk application, and worked on customers business critical enterprise systems at Microsoft.

As a quickly evolving language that is deeply technical in nature, Rust has a daunting learning curve, that I love to help new and experienced programmers overcome. For that, I also blog regularly about practical things to do with Rust at https://blog.x5ff.xyz.

Acknowledgement

Creating something as fundamental as a programming language is a major undertaking by many people and it would require another book to honor each contribution. However Id like to thank all contributors to the Rust programming language for creating such a great language - it has become more than a tool for me and many others. With this book I want to pay it forward by instilling this passion in others.

In these early days of Rust, its not common to work with my favorite programming language on a daily basis. Thanks to the team at DEX Labs I get to tinker and work in an exciting environment that takes Rust from the lowest levels of CPUs to WebAssembly - I truly enjoy every minute of that.

Preface

Rust is still a young language and throughout its formative years it has passed through many stages. Before Rust 1.0 was released, the language had already tried different paradigms for memory management and even types. However, leaving those initial ideas behind made the language what it is today: a really fast and safe language with a quirky memory management technique and an opinionated compiler.

While it comes with a steep learning curve, the ideas have spread and other programming languages (for example Apples Swift) picked some parts up quickly, resulting in an overall improvement for programmers and software engineers. I am convinced that by learning Rust, you learn more about programming as well and become better for it.

In many ways, the system of borrowing and ownership of memory keeps the questions Where does this come from? and Where does this go? always at the forefront of your programming mind. Even while writing JavaScript, a much more permissible language, you will become aware of where your objects are and where they should be, as well as whether or not you should create a copy. Personally, I think that alone is worth learning more Rust.

To start your journey, this book provides 16 chapters in increasing difficulty. Starting with the basics, you will quickly advance towards fundamentals of the standard library, memory management, and end with highly advanced features such as Rusts unsafe features. Each chapter comes with a challenge in the end so you can experiment with what you learned.

After completing this book, you will have built your own LinkedList data structure and several other small programs from along the way. Before we start off, lets look at what each chapter contains:

provides you with the basics of the Rust programming language. To set the stage appropriately, youll learn about byte code, compilers and compilation, simple types, and variables.

goes a little deeper into program flow and controlling it. This is where you see decision making with if, as well as while and for loops introduced. Afterwards, reading short code examples in Rust wont pose much of a challenge for you any longer.

covers the heart of how Rust stores data in memory. This chapter is all about creating data structures (structs), modules, and functions. For your programming journey, that means you can now store data and attach behavior (do stuff with it).

ventures further into the depths of Rusts type system by exploring enumerations (enums), traits, and pattern matching. These constructs allow for more efficient decision making based on type variants and share behavior between types using traits.

gets to the heart of Rusts memory management system: borrowing and ownership. The chapter details sharing data structures between functions, how to add mutability, and introduces the notion of scopes. This chapter concludes the fundamentals of the programming language, so afterwards you can solve basic and intermediate problems using Rust.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem»

Look at similar books to Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem»

Discussion, reviews of the book Learn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.