Rust Programming By Example - Softcover

9781788390637: Rust Programming By Example
View all copies of this ISBN edition:
 
 

Discover the world of Rust programming through real-world examples

Key Features

  • Implement various features of Rust to build blazingly fast applications
  • Learn to build GUI applications using Gtk-rs
  • Explore the multi-threading aspect of Rust to tackle problems in concurrency and in distributed environments

Book Description

Rust is an open source, safe, concurrent, practical language created by Mozilla. It runs blazingly fast, prevents segfaults, and guarantees safety. This book gets you started with essential software development by guiding you through the different aspects of Rust programming. With this approach, you can bridge the gap between learning and implementing immediately.

Beginning with an introduction to Rust, you'll learn the basic aspects such as its syntax, data types, functions, generics, control flows, and more. After this, you'll jump straight into building your first project, a Tetris game. Next you'll build a graphical music player and work with fast, reliable networking software using Tokio, the scalable and productive asynchronous IO Rust library.

Over the course of this book, you'll explore various features of Rust Programming including its SDL features, event loop, File I/O, and the famous GTK+ widget toolkit. Through these projects, you'll see how well Rust performs in terms of concurrency-including parallelism, reliability, improved performance, generics, macros, and thread safety. We'll also cover some asynchronous and reactive programming aspects of Rust.

By the end of the book, you'll be comfortable building various real-world applications in Rust.

What you will learn

  • Compile and run the Rust projects using the Cargo-Rust Package manager
  • Use Rust-SDL features such as the event loop, windows, infinite loops, pattern matching, and more
  • Create a graphical interface using Gtk-rs and Rust-SDL
  • Incorporate concurrency mechanism and multi-threading along with thread safety and locks
  • Implement the FTP protocol using an Asynchronous I/O stack with the Tokio library

Who This Book Is For

This book is for software developers interested in system level and application programming who are looking for a quick entry into using Rust and understanding the core features of the Rust Programming. It's assumed that you have a basic understanding of Java, C#, Ruby, Python, or JavaScript.

Table of Contents

  1. Basics of Rust
  2. Starting with SDL
  3. Events and basic game mechanisms
  4. Add all game mechanisms
  5. Creating a Music Player
  6. Implementing the Engine of the Music Player
  7. Music Player in a More Rusty Way with Relm
  8. Understanding FTP
  9. Implementing an Asynchronous FTP Server
  10. Implementing Asynchronous File Transfer
  11. Appendix: Rust Best Practices

"synopsis" may belong to another edition of this title.

About the Author:

Guillaume Gomez is an open source lover (let's keep this simple). He's a reviewer for the Rust language and a member of the GNOME organization. Guillaume lives in Paris, France.

Antoni Boucher has been enjoying programming for 10 years, especially functional and system programming. He works in the ad tech industry and strives to improve the performance and reliability of software. He contributes to multiple open source projects and is interested in system programming and compilers. Antoni lives in Montreal, Canada.

"About this title" may belong to another edition of this title.

  • PublisherPackt Publishing
  • Publication date2018
  • ISBN 10 1788390636
  • ISBN 13 9781788390637
  • BindingPaperback
  • Number of pages454

Top Search Results from the AbeBooks Marketplace

Seller Image

Gomez, Guillaume; Boucher, Antoni
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: 5
Seller:
GreatBookPrices
(Columbia, MD, U.S.A.)

Book Description Condition: New. Seller Inventory # 30676854-n

More information about this seller | Contact seller

Buy New
US$ 49.25
Convert currency

Add to Basket

Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds
Stock Image

Gomez, Guillaume; Boucher, Antoni
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: > 20
Seller:
Lucky's Textbooks
(Dallas, TX, U.S.A.)

Book Description Condition: New. Seller Inventory # ABLIING23Mar2912160180032

More information about this seller | Contact seller

Buy New
US$ 47.91
Convert currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds
Stock Image

Gomez, Guillaume; Boucher, Antoni
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: > 20
Seller:
California Books
(Miami, FL, U.S.A.)

Book Description Condition: New. Seller Inventory # I-9781788390637

More information about this seller | Contact seller

Buy New
US$ 54.00
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Guillaume Gomez
Published by Packt Publishing Limited (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New PAP Quantity: > 20
Print on Demand
Seller:
PBShop.store US
(Wood Dale, IL, U.S.A.)

Book Description PAP. Condition: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781788390637

More information about this seller | Contact seller

Buy New
US$ 58.45
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Gomez, Guillaume; Boucher, Antoni
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: 1
Seller:
GF Books, Inc.
(Hawthorne, CA, U.S.A.)

Book Description Condition: New. Book is in NEW condition. 1.9. Seller Inventory # 1788390636-2-1

More information about this seller | Contact seller

Buy New
US$ 64.89
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Gomez, Guillaume; Boucher, Antoni
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: 1
Seller:
Book Deals
(Tucson, AZ, U.S.A.)

Book Description Condition: New. New! This book is in the same immaculate condition as when it was published 1.9. Seller Inventory # 353-1788390636-new

More information about this seller | Contact seller

Buy New
US$ 64.90
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Guillaume Gomez
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: > 20
Print on Demand
Seller:
Ria Christie Collections
(Uxbridge, United Kingdom)

Book Description Condition: New. PRINT ON DEMAND Book; New; Fast Shipping from the UK. No. book. Seller Inventory # ria9781788390637_lsuk

More information about this seller | Contact seller

Buy New
US$ 52.39
Convert currency

Add to Basket

Shipping: US$ 12.70
From United Kingdom to U.S.A.
Destination, rates & speeds
Stock Image

Gomez, Guillaume
Published by Packt Publishing 2018-01 (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New PF Quantity: 10
Seller:
Chiron Media
(Wallingford, United Kingdom)

Book Description PF. Condition: New. Seller Inventory # 6666-IUK-9781788390637

More information about this seller | Contact seller

Buy New
US$ 48.71
Convert currency

Add to Basket

Shipping: US$ 19.08
From United Kingdom to U.S.A.
Destination, rates & speeds
Seller Image

Gomez, Guillaume; Boucher, Antoni
Published by Packt Publishing (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New Softcover Quantity: 5
Seller:
GreatBookPricesUK
(Castle Donington, DERBY, United Kingdom)

Book Description Condition: New. Seller Inventory # 30676854-n

More information about this seller | Contact seller

Buy New
US$ 51.97
Convert currency

Add to Basket

Shipping: US$ 19.09
From United Kingdom to U.S.A.
Destination, rates & speeds
Stock Image

Guillaume Gomez
Published by Packt Publishing Limited (2018)
ISBN 10: 1788390636 ISBN 13: 9781788390637
New PAP Quantity: > 20
Print on Demand
Seller:
PBShop.store UK
(Fairford, GLOS, United Kingdom)

Book Description PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781788390637

More information about this seller | Contact seller

Buy New
US$ 54.81
Convert currency

Add to Basket

Shipping: US$ 31.82
From United Kingdom to U.S.A.
Destination, rates & speeds

There are more copies of this book

View all search results for this book