Mastering Rust :: Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition.
Mastering Rust, Second Edition covers a comprehensive list of topics that will help you gain deeper insights into the language. It will allow you how to create high performing applications effortlessly.
Gespeichert in:
1. Verfasser: | |
---|---|
Weitere Verfasser: | |
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham :
Packt Publishing Ltd,
2019.
|
Ausgabe: | 2nd ed. |
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Mastering Rust, Second Edition covers a comprehensive list of topics that will help you gain deeper insights into the language. It will allow you how to create high performing applications effortlessly. |
Beschreibung: | Lifetimes |
Beschreibung: | 1 online resource (543 pages) |
ISBN: | 9781789341188 1789341183 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-on1086127915 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 190216s2019 enk o 000 0 eng d | ||
040 | |a EBLCP |b eng |e pn |c EBLCP |d TEFOD |d CHVBK |d TEFOD |d UKAHL |d OCLCF |d OCLCQ |d N$T |d NLW |d OCLCO |d OCLCQ |d OCLCO |d NZAUC |d OCLCQ |d OCLCO |d OCLCL | ||
020 | |a 9781789341188 |q (electronic bk.) | ||
020 | |a 1789341183 |q (electronic bk.) | ||
035 | |a (OCoLC)1086127915 | ||
037 | |a 44AD7099-3916-4CD5-BEEE-B803309FC3FA |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a QA76.73.R87 |b S53 2019eb | |
082 | 7 | |a 005.133 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Sharma, Rahul. | |
245 | 1 | 0 | |a Mastering Rust : |b Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
250 | |a 2nd ed. | ||
260 | |a Birmingham : |b Packt Publishing Ltd, |c 2019. | ||
300 | |a 1 online resource (543 pages) | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
588 | 0 | |a Print version record. | |
505 | 0 | |a Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Getting Started with Rust; What is Rust and why should you care?; Installing the Rust compiler and toolchain; Using rustup.rs; A tour of the language; Primitive types; Declaring variables and immutability; Functions; Closures; Strings; Conditionals and decision making; Match expressions; Loops; User-defined types; Structs; Enums; Functions and methods on types; Impl blocks on structs; Impl blocks for enums; Modules, imports, and use statements; Collections; Arrays; Tuples; Vectors | |
505 | 8 | |a HashmapsSlices; Iterators; Exercise -- fixing the word counter; Summary; Chapter 2: Managing Projects with Cargo; Package managers; Modules; Nested modules; File as a module; Directory as module; Cargo and crates; Creating a new Cargo project; Cargo and dependencies; Running tests with Cargo; Running examples with Cargo; Cargo workspace; Extending Cargo and tools; Subcommands and Cargo installation; cargo-watch; cargo-edit; cargo-deb; cargo-outdated; Linting code with clippy; Exploring the manifest file -- Cargo.toml; Setting up a Rust development environment | |
505 | 8 | |a Building a project with Cargo -- imgtoolSummary; Chapter 3: Tests, Documentation, and Benchmarks; Motivation for testing; Organizing tests; Testing primitives; Attributes; Assertion macros; Unit tests; First unit test; Running tests; Isolating test code; Failing tests; Ignoring tests; Integration tests; First integration test; Sharing common code; Documentation; Writing documentation; Generating and viewing documentation; Hosting documentation; Doc attributes; Documentation tests; Benchmarks; Built-in micro-benchmark harness; Benchmarking on stable Rust | |
505 | 8 | |a Writing and testing a crate -- logic gate simulatorContinuous integration with Travis CI; Summary; Chapter 4: Types, Generics, and Traits; Type systems and why they matter; Generics; Creating generic types; Generic functions; Generic types; Generic implementations; Using generics; Abstracting behavior with traits; Traits; The many forms of traits; Marker traits; Simple traits; Generic traits; Associated type traits; Inherited traits; Using traits with generics -- trait bounds; Trait bounds on types; Trait bounds on generic functions and impl blocks; Using + to compose traits as bounds | |
505 | 8 | |a Trait bounds with impl trait syntaxExploring standard library traits; True polymorphism using trait objects; Dispatch; Trait objects; Summary; Chapter 5: Memory Management and Safety; Programs and memory; How do programs use memory?; Memory management and its kinds; Approaches to memory allocation; The stack; The heap; Memory management pitfalls; Memory safety; Trifecta of memory safety; Ownership; A brief on scopes; Move and copy semantics; Duplicating types via traits; Copy; Clone; Ownership in action; Borrowing; Borrowing rules; Borrowing in action; Method types based on borrowing | |
500 | |a Lifetimes | ||
520 | |a Mastering Rust, Second Edition covers a comprehensive list of topics that will help you gain deeper insights into the language. It will allow you how to create high performing applications effortlessly. | ||
650 | 0 | |a Rust (Computer program language) |0 http://id.loc.gov/authorities/subjects/sh2018000672 | |
650 | 0 | |a Application software |x Development. |0 http://id.loc.gov/authorities/subjects/sh95009362 | |
650 | 6 | |a Rust (Langage de programmation) | |
650 | 6 | |a Logiciels d'application |x Développement. | |
650 | 7 | |a Programming & scripting languages: general. |2 bicssc | |
650 | 7 | |a Computer networking & communications. |2 bicssc | |
650 | 7 | |a Computers |x Networking |x General. |2 bisacsh | |
650 | 7 | |a Computers |x Programming Languages |x C. |2 bisacsh | |
650 | 7 | |a Computers |x Programming Languages |x General. |2 bisacsh | |
650 | 7 | |a Application software |x Development |2 fast | |
650 | 7 | |a Rust (Computer program language) |2 fast | |
700 | 1 | |a Kaihlavirta, Vesa. | |
758 | |i has work: |a Mastering Rust (Text) |1 https://id.oclc.org/worldcat/entity/E39PCGQQK8v6yRgCJjvwfq8Wfy |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | 0 | 8 | |i Print version: |a Sharma, Rahul. |t Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |d Birmingham : Packt Publishing Ltd, ©2019 |z 9781789346572 |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2018970 |3 Volltext |
938 | |a Askews and Holts Library Services |b ASKH |n BDZ0039650253 | ||
938 | |a ProQuest Ebook Central |b EBLB |n EBL5675594 | ||
938 | |a EBSCOhost |b EBSC |n 2018970 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-on1086127915 |
---|---|
_version_ | 1816882485154283521 |
adam_text | |
any_adam_object | |
author | Sharma, Rahul |
author2 | Kaihlavirta, Vesa |
author2_role | |
author2_variant | v k vk |
author_facet | Sharma, Rahul Kaihlavirta, Vesa |
author_role | |
author_sort | Sharma, Rahul |
author_variant | r s rs |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.R87 S53 2019eb |
callnumber-search | QA76.73.R87 S53 2019eb |
callnumber-sort | QA 276.73 R87 S53 42019EB |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Getting Started with Rust; What is Rust and why should you care?; Installing the Rust compiler and toolchain; Using rustup.rs; A tour of the language; Primitive types; Declaring variables and immutability; Functions; Closures; Strings; Conditionals and decision making; Match expressions; Loops; User-defined types; Structs; Enums; Functions and methods on types; Impl blocks on structs; Impl blocks for enums; Modules, imports, and use statements; Collections; Arrays; Tuples; Vectors HashmapsSlices; Iterators; Exercise -- fixing the word counter; Summary; Chapter 2: Managing Projects with Cargo; Package managers; Modules; Nested modules; File as a module; Directory as module; Cargo and crates; Creating a new Cargo project; Cargo and dependencies; Running tests with Cargo; Running examples with Cargo; Cargo workspace; Extending Cargo and tools; Subcommands and Cargo installation; cargo-watch; cargo-edit; cargo-deb; cargo-outdated; Linting code with clippy; Exploring the manifest file -- Cargo.toml; Setting up a Rust development environment Building a project with Cargo -- imgtoolSummary; Chapter 3: Tests, Documentation, and Benchmarks; Motivation for testing; Organizing tests; Testing primitives; Attributes; Assertion macros; Unit tests; First unit test; Running tests; Isolating test code; Failing tests; Ignoring tests; Integration tests; First integration test; Sharing common code; Documentation; Writing documentation; Generating and viewing documentation; Hosting documentation; Doc attributes; Documentation tests; Benchmarks; Built-in micro-benchmark harness; Benchmarking on stable Rust Writing and testing a crate -- logic gate simulatorContinuous integration with Travis CI; Summary; Chapter 4: Types, Generics, and Traits; Type systems and why they matter; Generics; Creating generic types; Generic functions; Generic types; Generic implementations; Using generics; Abstracting behavior with traits; Traits; The many forms of traits; Marker traits; Simple traits; Generic traits; Associated type traits; Inherited traits; Using traits with generics -- trait bounds; Trait bounds on types; Trait bounds on generic functions and impl blocks; Using + to compose traits as bounds Trait bounds with impl trait syntaxExploring standard library traits; True polymorphism using trait objects; Dispatch; Trait objects; Summary; Chapter 5: Memory Management and Safety; Programs and memory; How do programs use memory?; Memory management and its kinds; Approaches to memory allocation; The stack; The heap; Memory management pitfalls; Memory safety; Trifecta of memory safety; Ownership; A brief on scopes; Move and copy semantics; Duplicating types via traits; Copy; Clone; Ownership in action; Borrowing; Borrowing rules; Borrowing in action; Method types based on borrowing |
ctrlnum | (OCoLC)1086127915 |
dewey-full | 005.133 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.133 |
dewey-search | 005.133 |
dewey-sort | 15.133 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 2nd ed. |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>05812cam a2200613 i 4500</leader><controlfield tag="001">ZDB-4-EBA-on1086127915</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">190216s2019 enk o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">EBLCP</subfield><subfield code="b">eng</subfield><subfield code="e">pn</subfield><subfield code="c">EBLCP</subfield><subfield code="d">TEFOD</subfield><subfield code="d">CHVBK</subfield><subfield code="d">TEFOD</subfield><subfield code="d">UKAHL</subfield><subfield code="d">OCLCF</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">N$T</subfield><subfield code="d">NLW</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">NZAUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781789341188</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1789341183</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1086127915</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">44AD7099-3916-4CD5-BEEE-B803309FC3FA</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.73.R87</subfield><subfield code="b">S53 2019eb</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.133</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Sharma, Rahul.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Mastering Rust :</subfield><subfield code="b">Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition.</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">2nd ed.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Birmingham :</subfield><subfield code="b">Packt Publishing Ltd,</subfield><subfield code="c">2019.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource (543 pages)</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Print version record.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Getting Started with Rust; What is Rust and why should you care?; Installing the Rust compiler and toolchain; Using rustup.rs; A tour of the language; Primitive types; Declaring variables and immutability; Functions; Closures; Strings; Conditionals and decision making; Match expressions; Loops; User-defined types; Structs; Enums; Functions and methods on types; Impl blocks on structs; Impl blocks for enums; Modules, imports, and use statements; Collections; Arrays; Tuples; Vectors</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">HashmapsSlices; Iterators; Exercise -- fixing the word counter; Summary; Chapter 2: Managing Projects with Cargo; Package managers; Modules; Nested modules; File as a module; Directory as module; Cargo and crates; Creating a new Cargo project; Cargo and dependencies; Running tests with Cargo; Running examples with Cargo; Cargo workspace; Extending Cargo and tools; Subcommands and Cargo installation; cargo-watch; cargo-edit; cargo-deb; cargo-outdated; Linting code with clippy; Exploring the manifest file -- Cargo.toml; Setting up a Rust development environment</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Building a project with Cargo -- imgtoolSummary; Chapter 3: Tests, Documentation, and Benchmarks; Motivation for testing; Organizing tests; Testing primitives; Attributes; Assertion macros; Unit tests; First unit test; Running tests; Isolating test code; Failing tests; Ignoring tests; Integration tests; First integration test; Sharing common code; Documentation; Writing documentation; Generating and viewing documentation; Hosting documentation; Doc attributes; Documentation tests; Benchmarks; Built-in micro-benchmark harness; Benchmarking on stable Rust</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Writing and testing a crate -- logic gate simulatorContinuous integration with Travis CI; Summary; Chapter 4: Types, Generics, and Traits; Type systems and why they matter; Generics; Creating generic types; Generic functions; Generic types; Generic implementations; Using generics; Abstracting behavior with traits; Traits; The many forms of traits; Marker traits; Simple traits; Generic traits; Associated type traits; Inherited traits; Using traits with generics -- trait bounds; Trait bounds on types; Trait bounds on generic functions and impl blocks; Using + to compose traits as bounds</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Trait bounds with impl trait syntaxExploring standard library traits; True polymorphism using trait objects; Dispatch; Trait objects; Summary; Chapter 5: Memory Management and Safety; Programs and memory; How do programs use memory?; Memory management and its kinds; Approaches to memory allocation; The stack; The heap; Memory management pitfalls; Memory safety; Trifecta of memory safety; Ownership; A brief on scopes; Move and copy semantics; Duplicating types via traits; Copy; Clone; Ownership in action; Borrowing; Borrowing rules; Borrowing in action; Method types based on borrowing</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Lifetimes</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Mastering Rust, Second Edition covers a comprehensive list of topics that will help you gain deeper insights into the language. It will allow you how to create high performing applications effortlessly.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Rust (Computer program language)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2018000672</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh95009362</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Rust (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels d'application</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Programming & scripting languages: general.</subfield><subfield code="2">bicssc</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computer networking & communications.</subfield><subfield code="2">bicssc</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computers</subfield><subfield code="x">Networking</subfield><subfield code="x">General.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computers</subfield><subfield code="x">Programming Languages</subfield><subfield code="x">C.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computers</subfield><subfield code="x">Programming Languages</subfield><subfield code="x">General.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software</subfield><subfield code="x">Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Rust (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Kaihlavirta, Vesa.</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Mastering Rust (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCGQQK8v6yRgCJjvwfq8Wfy</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Sharma, Rahul.</subfield><subfield code="t">Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition.</subfield><subfield code="d">Birmingham : Packt Publishing Ltd, ©2019</subfield><subfield code="z">9781789346572</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2018970</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">Askews and Holts Library Services</subfield><subfield code="b">ASKH</subfield><subfield code="n">BDZ0039650253</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ProQuest Ebook Central</subfield><subfield code="b">EBLB</subfield><subfield code="n">EBL5675594</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">2018970</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-on1086127915 |
illustrated | Not Illustrated |
indexdate | 2024-11-27T13:29:21Z |
institution | BVB |
isbn | 9781789341188 1789341183 |
language | English |
oclc_num | 1086127915 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource (543 pages) |
psigel | ZDB-4-EBA |
publishDate | 2019 |
publishDateSearch | 2019 |
publishDateSort | 2019 |
publisher | Packt Publishing Ltd, |
record_format | marc |
spelling | Sharma, Rahul. Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. 2nd ed. Birmingham : Packt Publishing Ltd, 2019. 1 online resource (543 pages) text txt rdacontent computer c rdamedia online resource cr rdacarrier Print version record. Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Getting Started with Rust; What is Rust and why should you care?; Installing the Rust compiler and toolchain; Using rustup.rs; A tour of the language; Primitive types; Declaring variables and immutability; Functions; Closures; Strings; Conditionals and decision making; Match expressions; Loops; User-defined types; Structs; Enums; Functions and methods on types; Impl blocks on structs; Impl blocks for enums; Modules, imports, and use statements; Collections; Arrays; Tuples; Vectors HashmapsSlices; Iterators; Exercise -- fixing the word counter; Summary; Chapter 2: Managing Projects with Cargo; Package managers; Modules; Nested modules; File as a module; Directory as module; Cargo and crates; Creating a new Cargo project; Cargo and dependencies; Running tests with Cargo; Running examples with Cargo; Cargo workspace; Extending Cargo and tools; Subcommands and Cargo installation; cargo-watch; cargo-edit; cargo-deb; cargo-outdated; Linting code with clippy; Exploring the manifest file -- Cargo.toml; Setting up a Rust development environment Building a project with Cargo -- imgtoolSummary; Chapter 3: Tests, Documentation, and Benchmarks; Motivation for testing; Organizing tests; Testing primitives; Attributes; Assertion macros; Unit tests; First unit test; Running tests; Isolating test code; Failing tests; Ignoring tests; Integration tests; First integration test; Sharing common code; Documentation; Writing documentation; Generating and viewing documentation; Hosting documentation; Doc attributes; Documentation tests; Benchmarks; Built-in micro-benchmark harness; Benchmarking on stable Rust Writing and testing a crate -- logic gate simulatorContinuous integration with Travis CI; Summary; Chapter 4: Types, Generics, and Traits; Type systems and why they matter; Generics; Creating generic types; Generic functions; Generic types; Generic implementations; Using generics; Abstracting behavior with traits; Traits; The many forms of traits; Marker traits; Simple traits; Generic traits; Associated type traits; Inherited traits; Using traits with generics -- trait bounds; Trait bounds on types; Trait bounds on generic functions and impl blocks; Using + to compose traits as bounds Trait bounds with impl trait syntaxExploring standard library traits; True polymorphism using trait objects; Dispatch; Trait objects; Summary; Chapter 5: Memory Management and Safety; Programs and memory; How do programs use memory?; Memory management and its kinds; Approaches to memory allocation; The stack; The heap; Memory management pitfalls; Memory safety; Trifecta of memory safety; Ownership; A brief on scopes; Move and copy semantics; Duplicating types via traits; Copy; Clone; Ownership in action; Borrowing; Borrowing rules; Borrowing in action; Method types based on borrowing Lifetimes Mastering Rust, Second Edition covers a comprehensive list of topics that will help you gain deeper insights into the language. It will allow you how to create high performing applications effortlessly. Rust (Computer program language) http://id.loc.gov/authorities/subjects/sh2018000672 Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Rust (Langage de programmation) Logiciels d'application Développement. Programming & scripting languages: general. bicssc Computer networking & communications. bicssc Computers Networking General. bisacsh Computers Programming Languages C. bisacsh Computers Programming Languages General. bisacsh Application software Development fast Rust (Computer program language) fast Kaihlavirta, Vesa. has work: Mastering Rust (Text) https://id.oclc.org/worldcat/entity/E39PCGQQK8v6yRgCJjvwfq8Wfy https://id.oclc.org/worldcat/ontology/hasWork Print version: Sharma, Rahul. Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. Birmingham : Packt Publishing Ltd, ©2019 9781789346572 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2018970 Volltext |
spellingShingle | Sharma, Rahul Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Getting Started with Rust; What is Rust and why should you care?; Installing the Rust compiler and toolchain; Using rustup.rs; A tour of the language; Primitive types; Declaring variables and immutability; Functions; Closures; Strings; Conditionals and decision making; Match expressions; Loops; User-defined types; Structs; Enums; Functions and methods on types; Impl blocks on structs; Impl blocks for enums; Modules, imports, and use statements; Collections; Arrays; Tuples; Vectors HashmapsSlices; Iterators; Exercise -- fixing the word counter; Summary; Chapter 2: Managing Projects with Cargo; Package managers; Modules; Nested modules; File as a module; Directory as module; Cargo and crates; Creating a new Cargo project; Cargo and dependencies; Running tests with Cargo; Running examples with Cargo; Cargo workspace; Extending Cargo and tools; Subcommands and Cargo installation; cargo-watch; cargo-edit; cargo-deb; cargo-outdated; Linting code with clippy; Exploring the manifest file -- Cargo.toml; Setting up a Rust development environment Building a project with Cargo -- imgtoolSummary; Chapter 3: Tests, Documentation, and Benchmarks; Motivation for testing; Organizing tests; Testing primitives; Attributes; Assertion macros; Unit tests; First unit test; Running tests; Isolating test code; Failing tests; Ignoring tests; Integration tests; First integration test; Sharing common code; Documentation; Writing documentation; Generating and viewing documentation; Hosting documentation; Doc attributes; Documentation tests; Benchmarks; Built-in micro-benchmark harness; Benchmarking on stable Rust Writing and testing a crate -- logic gate simulatorContinuous integration with Travis CI; Summary; Chapter 4: Types, Generics, and Traits; Type systems and why they matter; Generics; Creating generic types; Generic functions; Generic types; Generic implementations; Using generics; Abstracting behavior with traits; Traits; The many forms of traits; Marker traits; Simple traits; Generic traits; Associated type traits; Inherited traits; Using traits with generics -- trait bounds; Trait bounds on types; Trait bounds on generic functions and impl blocks; Using + to compose traits as bounds Trait bounds with impl trait syntaxExploring standard library traits; True polymorphism using trait objects; Dispatch; Trait objects; Summary; Chapter 5: Memory Management and Safety; Programs and memory; How do programs use memory?; Memory management and its kinds; Approaches to memory allocation; The stack; The heap; Memory management pitfalls; Memory safety; Trifecta of memory safety; Ownership; A brief on scopes; Move and copy semantics; Duplicating types via traits; Copy; Clone; Ownership in action; Borrowing; Borrowing rules; Borrowing in action; Method types based on borrowing Rust (Computer program language) http://id.loc.gov/authorities/subjects/sh2018000672 Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Rust (Langage de programmation) Logiciels d'application Développement. Programming & scripting languages: general. bicssc Computer networking & communications. bicssc Computers Networking General. bisacsh Computers Programming Languages C. bisacsh Computers Programming Languages General. bisacsh Application software Development fast Rust (Computer program language) fast |
subject_GND | http://id.loc.gov/authorities/subjects/sh2018000672 http://id.loc.gov/authorities/subjects/sh95009362 |
title | Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
title_auth | Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
title_exact_search | Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
title_full | Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
title_fullStr | Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
title_full_unstemmed | Mastering Rust : Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
title_short | Mastering Rust : |
title_sort | mastering rust learn about memory safety type system concurrency and the new features of rust 2018 edition 2nd edition |
title_sub | Learn about Memory Safety, Type System, Concurrency, and the New Features of Rust 2018 Edition, 2nd Edition. |
topic | Rust (Computer program language) http://id.loc.gov/authorities/subjects/sh2018000672 Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Rust (Langage de programmation) Logiciels d'application Développement. Programming & scripting languages: general. bicssc Computer networking & communications. bicssc Computers Networking General. bisacsh Computers Programming Languages C. bisacsh Computers Programming Languages General. bisacsh Application software Development fast Rust (Computer program language) fast |
topic_facet | Rust (Computer program language) Application software Development. Rust (Langage de programmation) Logiciels d'application Développement. Programming & scripting languages: general. Computer networking & communications. Computers Networking General. Computers Programming Languages C. Computers Programming Languages General. Application software Development |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2018970 |
work_keys_str_mv | AT sharmarahul masteringrustlearnaboutmemorysafetytypesystemconcurrencyandthenewfeaturesofrust2018edition2ndedition AT kaihlavirtavesa masteringrustlearnaboutmemorysafetytypesystemconcurrencyandthenewfeaturesofrust2018edition2ndedition |