• Complain

Vesa Kaihlavirta - Mastering Rust

Here you can read online Vesa Kaihlavirta - Mastering Rust full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Birmingham, UNKNOWN, year: 2017, publisher: Packt Publishing, genre: Home and family. 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.

Vesa Kaihlavirta Mastering Rust
  • Book:
    Mastering Rust
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2017
  • City:
    Birmingham, UNKNOWN
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Mastering Rust: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Mastering Rust" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Discover the powerful, hidden features of Rust you need to build robust, concurrent, and fast applicationsAbout This Book* Learn how concurrency works in Rust and why it is safe* Get to know the different philosophies of error handling and how to use them wisely* After reading this book, you will be able to migrate your legacy C or C++ application to a Rust environmentWho This Book Is ForThe target audience would be readers having knowledge of other programming languages and are able to work fluently in the operating system of their choice, be it Linux, OS X or Windows. Since Rust is a rather new language, they are interested in programming beyond simply using it for work. The book focuses on intermediate and advanced features of Rust. What You Will Learn* Implement unit testing patterns with the standard Rust tools* Get to know the different philosophies of error handling and how to use them wisely* Appreciate Rusts ability to solve memory allocation problems safely without garbage collection* Get to know how concurrency works in Rust and use concurrency primitives such as threads and message passing* Use syntax extensions and write your own* Create a Web application with Rocket* Use Diesel to build safe database abstractionsIn DetailIf concurrent programs are giving you sleepless nights, Rust is your go-to language. Being one of the first ever comprehensive books on Rust, it is filled with real-world examples and explanations, showing you how you can build scalable and reliable programs for your organization. Well teach you intermediate to advanced level concepts that make Rust a great language. Improving performance, using generics, building macros, and working with threads are just some of the topics well cover. Well talk about the official toolsets and ways to discover more. The book contains a mix of theory interspersed with hands-on tasks, so you acquire the skills as well as the knowledge. Since programming cannot be learned by just reading, we provide exercises (and solutions) to hammer the concepts in. After reading this book, you will be able to implement Rust for your enterprise project, deploy the software, and will know the best practices of coding in Rust. Style and approachThis book is your one stop guide to the Rust programming language and covers advanced-level concepts in a detailed manner using real-world examples. Read more...
Abstract: Discover the powerful, hidden features of Rust you need to build robust, concurrent, and fast applicationsAbout This Book* Learn how concurrency works in Rust and why it is safe* Get to know the different philosophies of error handling and how to use them wisely* After reading this book, you will be able to migrate your legacy C or C++ application to a Rust environmentWho This Book Is ForThe target audience would be readers having knowledge of other programming languages and are able to work fluently in the operating system of their choice, be it Linux, OS X or Windows. Since Rust is a rather new language, they are interested in programming beyond simply using it for work. The book focuses on intermediate and advanced features of Rust. What You Will Learn* Implement unit testing patterns with the standard Rust tools* Get to know the different philosophies of error handling and how to use them wisely* Appreciate Rusts ability to solve memory allocation problems safely without garbage collection* Get to know how concurrency works in Rust and use concurrency primitives such as threads and message passing* Use syntax extensions and write your own* Create a Web application with Rocket* Use Diesel to build safe database abstractionsIn DetailIf concurrent programs are giving you sleepless nights, Rust is your go-to language. Being one of the first ever comprehensive books on Rust, it is filled with real-world examples and explanations, showing you how you can build scalable and reliable programs for your organization. Well teach you intermediate to advanced level concepts that make Rust a great language. Improving performance, using generics, building macros, and working with threads are just some of the topics well cover. Well talk about the official toolsets and ways to discover more. The book contains a mix of theory interspersed with hands-on tasks, so you acquire the skills as well as the knowledge. Since programming cannot be learned by just reading, we provide exercises (and solutions) to hammer the concepts in. After reading this book, you will be able to implement Rust for your enterprise project, deploy the software, and will know the best practices of coding in Rust. Style and approachThis book is your one stop guide to the Rust programming language and covers advanced-level concepts in a detailed manner using real-world examples

Vesa Kaihlavirta: author's other books


Who wrote Mastering Rust? Find out the surname, the name of the author of the book and a list of all author's works by series.

Mastering Rust — 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 "Mastering Rust" 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
Title Page Mastering Rust Write safe concurrent and reliable programs - photo 1
Title Page
Mastering Rust
Write safe, concurrent and reliable programs without compromising on performance
Vesa Kaihlavirta
BIRMINGHAM - MUMBAI Copyright Mastering Rust Copyright 2017 Packt Publishing - photo 2

BIRMINGHAM - MUMBAI

Copyright
Mastering Rust

Copyright 2017 Packt Publishing

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 Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

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

First published: May 2017

Production reference: 1290517

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78588-530-3

www.packtpub.com

Credits

Author

Vesa Kaihlavirta

Copy Editor

Safis Editing

Reviewer

Antonin Carette

Project Coordinator

Ulhas Kambali

Commissioning Editor

Kunal Parikh

Proofreader

Safis Editing

Acquisition Editor

Denim Pinto

Indexer

Aishwarya Gangawane

Content Development Editor

Nikhil Borkar

Graphics

Abhinash Sahu

Technical Editor

Madhunikita Sunil Chindarkar

Production Coordinator

Aparna Bhagat

About the Author

Vesa Kaihlavirta has been programming since he was five, beginning with C64 Basic. His main professional goal in life is to increase awareness of programming languages and software quality in all industries that use software. He's an Arch Linux Developer Fellow, and has been working in the telecom and financial industry for a decade. Vesa lives in Jyvskyl, central Finland.

Id like to thank my brother, Lasse, for helping with the chapters of the book, and for raising my wisdom over the years. Also my wife, the love of my life and my greatest support, Johanna.
About the Reviewer

Antonin Carette is a PhD student at the Interdisciplinary Centre for Security, Reliability and Trust (SnT) of Luxembourg, working on automated ways to classify documents using machine learning.

He believes in Mozilla philosophy and tries to contribute to the Mozilla community, promoting the Rust programming language.

Antonin lives in Thionville, France.

Id like to thank my love, Alice, for supporting me (and my absent-mindedness) during these nights of reviews.
www.PacktPub.com

For support files and downloads related to your book, please visit www.PacktPub.com .

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.

At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

httpswwwpacktpubcommapt Get the most in-demand software skills with Mapt - photo 3

https://www.packtpub.com/mapt

Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.

Why subscribe?
  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser
Preface

Rust is a new programming language. It offers performance and safety that reaches or even surpasses modern C++, while being a modern language with a relatively low barrier of entry. Rusts momentum, combined with its active and friendly community, promise a great future for the language.

While modern and fluent, Rust is not an entirely easy language. The memory management system keeps track of the life of every entity that is used in your program, and is designed in such a way that this tracking can typically happen entirely at compile time. The Rust programmers burden is to help the compiler when it cannot decide for itself what should happen. Since modern programming is possible to do without ever facing such responsibilities, a modern programmer may not immediately feel comfortable with it.

However, like all expertise and skills, the more difficult it is to attain, the more valuable it is, and this book is here to help you. We cover the basics of Rust briefly, then move to more advanced parts such as the aforementioned memory management, concurrency, and metaprogramming. After working through this book, youll have a very decent foundation for building highly performant and safe software.

What this book covers

, Getting Your Feet Wet, deals with installing the Rust toolset and runs through basic language features in a speedy fashion.

, Using Cargo to Build Your First Program, focuses on the standard build tool, Cargo, and also other development tools and their editor integration.

, Unit Testing and Benchmarking, covers the standard testing tools and practices.

, Types, runs through details and practices related to Rusts type system. We touch the different string types in Rust, arrays and slices, traits, implementations, and generics.

, Error Handling, covers how Rust handles error conditions in a rather unique way. Rust does error handling through its generic type system, instead of relying on exceptions.

, Memory, Lifetimes, and Borrowing, is possibly the most important chapter of the whole book. We see how Rust manages memory and resources, in general, in a safe way without relying on garbage collection.

, Concurrency, covers concurrent and parallel programming in Rust, and a few of the standard primitives (threads, channels, mutexes, and atomic reference counting) that can be used to implement safe concurrency.

, Macros, is where we start looking at the compile-time metaprogramming features of Rust. The so-called macros-by-example is the oldest and most stable form of metaprogramming in Rust.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Mastering Rust»

Look at similar books to Mastering Rust. 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 «Mastering Rust»

Discussion, reviews of the book Mastering Rust 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.