Giter Site home page Giter Site logo

exbibyte / hands-on-concurrency-with-rust Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/hands-on-concurrency-with-rust

0.0 0.0 0.0 78 KB

Hands-On Concurrency with Rust, published by Packt

License: MIT License

Rust 81.75% Makefile 0.30% C 17.67% Lua 0.17% Python 0.12%

hands-on-concurrency-with-rust's Introduction

Hands-On Concurrency with Rust

This is the code repository for Hands-On Concurrency with Rust, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Most programming languages can really complicate things, especially with regard to unsafe memory access. The burden on you, the programmer, lies across two domains: understanding the modern machine and your language's pain-points. This book will teach you to how to manage program performance on modern machines and build fast, memory-safe, and concurrent software in Rust. It starts with the fundamentals of Rust and discusses machine architecture concepts. You will be taken through ways to measure and improve the performance of Rust code systematically and how to write collections with confidence. You will learn about the Sync and Send traits applied to threads, and coordinate thread execution with locks, atomic primitives, data-parallelism, and more.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

All codes are present in theit respective folders.

The code will look like the following:

fn main() {
  println!("Apollo is the name of a space program but also my dog.");
}

Author's Instruction

Rust Concurrency discusses several community projects. This repository tracks those crates as submodules. To properly initialize this repository please issue the following commands:

> git submodule init
> git submodule update

If you have not yet cloned the repository and have at least git 2.13 you may issue this command instead:

> git clone --recurse-submodules https://github.com/PacktPublishing/Rust-Concurrency.git

If this is your first Rust programming book, I warmly thank you for your enthusiasm, but encourage you to seek out a suitable introduction to the programming language. This book will hit the ground running, and it will likely not be appropriate if you've got questions about the basics. The Rust community has produced excellent documentation, including introductory texts. The Book (https:/​/​doc.​rust-​lang.​org/​book/​first-​edition/​), first edition, is how many who are already in the community learned the language. The second edition of the book, still in progress at the time of writing, looks to be an improvement over the original text, and it is also recommended. There are many other excellent introductions widely available for purchase, as well.

Related Products

hands-on-concurrency-with-rust's People

Contributors

adhithya21 avatar blt avatar mehulsingh7 avatar abhishek1373 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.