Rust Essentials

Discover how to use Rust to write fast, secure, and concurrent systems and applications

Rust Essentials

Ivo Balbaert

3 customer reviews
Discover how to use Rust to write fast, secure, and concurrent systems and applications
Mapt Subscription
FREE
$30.00/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$16.80
$29.99
$29.99 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Rust Essentials Book Cover
Rust Essentials
$ 23.99
$ 16.80
Mastering Rust Book Cover
Mastering Rust
$ 39.99
$ 28.00
Buy 2 for $34.30
Save $29.68
Add to Cart

Book Details

ISBN 139781785285769
Paperback184 pages

Book Description

Starting by comparing Rust with other programming languages, this book will show you where and how to use Rust. It will discuss primitive types along with variables and their scope, binding and casting, simple functions, and ways to control execution flow in a program.

Next, the book covers flexible arrays, vectors, tuples, enums, and structs. You will then generalize the code with higher-order functions and generics applying it to closures, iterators, consumers, and so on. Memory safety is ensured by the compiler by using references, pointers, boxes, reference counting, and atomic reference counting. You will learn how to build macros and crates and discover concurrency for multicore execution.

By the end of this book, you will have successfully migrated to using Rust and will be able to use it as your main programming language.

Table of Contents

Chapter 7: Organizing Code and Macros

What You Will Learn

  • Set up your Rust environment for maximum productivity
  • Bridge the performance gap between safe and unsafe languages with Rust
  • Use pattern matching to create flexible code
  • Apply generics and traits to develop widely applicable code
  • Organize your code in modules and crates
  • Build macros to extend Rust's capabilities and reach
  • Apply threads to tackle problems concurrently and in distributed environments
  • Interface with C and isolate unsafe code

Authors

Table of Contents

Chapter 7: Organizing Code and Macros

Book Details

ISBN 139781785285769
Paperback184 pages
Read More
From 3 reviews

Read More Reviews

Recommended for You

Mastering Rust Book Cover
Mastering Rust
$ 39.99
$ 28.00
Rust Cookbook Book Cover
Rust Cookbook
$ 35.99
$ 25.20
Learning Rust Book Cover
Learning Rust
$ 35.99
$ 25.20
Rust Essentials - Second Edition Book Cover
Rust Essentials - Second Edition
$ 35.99
$ 25.20
Neural Network Programming with Java Book Cover
Neural Network Programming with Java
$ 35.99
$ 7.20
Rust Programming By Example Book Cover
Rust Programming By Example
$ 35.99
$ 25.20