Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Gomez, Guillaume, author.

Title Rust programming by example : enter the world of Rust by building engaging, concurrent, reactive, and robust applications / Guillaume Gomez, Antoni Boucher. [O'Reilly electronic resource]

Edition First edition.
Publication Info. Birmingham, UK : Packt Publishing, 2018.
QR Code
Description 1 online resource (1 volume) : illustrations
data file
Contents Intro; Cover; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Basics of Rust; Getting to know Rust; Installing Rust; Windows; Linux/Mac ; Test your installation; Documentation and reference; Main function; Variables; Built-in data types; Integer types; Floating-point types; Boolean type; Character type; Control flow; Writing a condition; Creating while loops; Creating functions; Creating structures; References; Clone types; Copy types; Mutable references; Methods; Constructors; Tuples; Enumerations; Pattern matching; Irrefutable patterns; Traits.
Intro; Cover; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Basics of Rust; Getting to know Rust; Installing Rust; Windows; Linux/MacA렔est your installation; Documentation and reference; Main function; Variables; Built-in data types; Integer types; Floating-point types; Boolean type; Character type; Control flow; Writing a condition; Creating while loops; Creating functions; Creating structures; References; Clone types; Copy types; Mutable references; Methods; Constructors; Tuples; Enumerations; Pattern matching; Irrefutable patterns; Traits.
Default methodsAssociated types; Rules; Generics; The Option type; Arrays; Slices; For loops; Macros; Multiple pattern rules; Repetitions; Optional quantifier; Summary; Chapter 2: Starting with SDL; Understanding Rust crates; Installing SDL2; Installing SDL2 on Linux; Installing SDL2 on Mac; Installing SDL2 on Windows; Windows with Build Script; Windows (MinGW); Windows (MSVC); Setting up your Rust project; Cargo and crates.io; The docs.rs documentation; Back to our Cargo.toml file; Rust's modules; Tetris; Creating a window; Drawing; Playing with Options; Solution; Loading images.
Installing SDL2_image on MacInstalling SDL2_image on Linux; Installing SDL2_image on Windows; Playing with features; Playing with images; Handling files; Saving/loading high scores; Iterators; Reading formatted data from files; Summary; Chapter 3: Events and Basic Game Mechanisms; Writing Tetris; Tetrimino; Creating tetriminos; Generating a tetrimino; Rotating a tetrimino; Tetris struct; Interacting with the game map; SDL events; Score, level, lines sent; Levels and lines sent; Highscores loading/overwriting; Summary; Chapter 4: Adding All Game Mechanisms.
Getting started with game mechanismsRendering UI; Rendering initialization; Rendering; Playing with fonts; Install on OS X; Install on Linux; Other system/package manager; Loading font; Summary; Chapter 5: Creating a Music Player; Installing the prerequisite; Installing GTK+ on Linux; Installing GTK+ on Mac; Installing GTK+ on Windows; Creating your first window; Closure; Preventing the default behavior of an event; Creating a toolbar; Stock item; Improving the organization of the application; Adding tool button events; Lifetime; Ownership; Containers; Types of containers; The Box container.
Adding a playlistThe MVC pattern; Opening MP3 files; Reference-counting pointer; ID3â#x80;#x94; MP3 metadata; Opening files with a file dialog; Deleting a song; Displaying the cover when playing a song; Summary; Chapter 6: Implementing the Engine of the Music Player; Installing the dependencies; Installing dependencies on Linux; Installing dependencies on Mac; Installing dependencies on Windows; Decoding MP3 files; Adding dependencies; Implementing an MP3 decoder; Getting the frame samples; Playing music; Event loop; Atomic reference counting; Mutual exclusion; Send trait; Sync trait.
Summary 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 ...
Subject Rust (System programming language)
Programming languages (Electronic computers)
Computer programming.
Programmation (Informatique)
computer programming.
Portable & handheld devices: consumer/user guides.
Mobile phones: consumer/user guides.
Parallel processing.
Programming & scripting languages: general.
Computer programming
Programming languages (Electronic computers)
Added Author Boucher, Antoni, author.
ISBN 9781788470308 (electronic bk.)
1788470303 (electronic bk.)
1788390636
9781788390637
Standard No. 9781788390637
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information