Rust programming by example enter the world of Rust by building engaging, concurrent, reactive, and robust applications

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...

Full description

Bibliographic Details
Main Authors: Gomez, Guillaume, Boucher, Antoni (Author)
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2018
Edition:First edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 05315nmm a2200565 u 4500
001 EB001943537
003 EBX01000000000000001106439
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781788470308 
020 |a 1788470303 
020 |a 1788390636 
050 4 |a QA76.73.R88 
100 1 |a Gomez, Guillaume 
245 0 0 |a Rust programming by example  |b enter the world of Rust by building engaging, concurrent, reactive, and robust applications  |c Guillaume Gomez, Antoni Boucher 
250 |a First edition 
260 |a Birmingham, UK  |b Packt Publishing  |c 2018 
300 |a 1 volume  |b illustrations 
505 0 |a 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 
505 0 |a 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 
505 0 |a 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 
505 0 |a 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 
505 0 |a 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 
653 |a Programming languages (Electronic computers) / fast 
653 |a Computers / Hardware / Handheld Devices / bisacsh 
653 |a Rust (System programming language) 
653 |a Computer programming / fast 
653 |a Programming & scripting languages: general / bicssc 
653 |a Computers / Programming Languages / Java / bisacsh 
653 |a Mobile phones: consumer/user guides / bicssc 
653 |a Programming languages (Electronic computers) / http://id.loc.gov/authorities/subjects/sh85107313 
653 |a Parallel processing / bicssc 
653 |a Programmation (Informatique) 
653 |a Computer programming / http://id.loc.gov/authorities/subjects/sh85107310 
653 |a Portable & handheld devices: consumer/user guides / bicssc 
653 |a Computers / Programming / Parallel / bisacsh 
653 |a computer programming / aat 
700 1 |a Boucher, Antoni  |e author 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
015 |a GBB891741 
776 |z 1788470303 
776 |z 9781788390637 
776 |z 1788470303 
776 |z 1788390636 
776 |z 9781788470308 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781788390637/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.13/3 
520 |a 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 ..