Rust for C++ Programmers
eBook - ePub

Rust for C++ Programmers

Learn how to embed Rust in C/C++ with ease (English Edition)

Mustafif Khan

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Rust for C++ Programmers

Learn how to embed Rust in C/C++ with ease (English Edition)

Mustafif Khan

Book details
Table of contents
Citations

About This Book

Get acquainted with the cutting-edge features in Rust

Key Features
? Get familiar with the essential networking concepts in Rust.
? Explore and work with the basic and advanced features of Rust.
? Learn how to code and build your real-world applications using Rust.

Description
Rust is one of the most loved programming languages among developers. It is rapidly being adopted as the industry moves towards memory-safety systems programming languages. If you want to switch from C/C++ to Rust, this book is for you. "Rust for C++ Programmers" is the perfect guide to help you master the Rust programming language. Beginning with its evolution and comparison to C/C++, the book will help you learn how to install and use the powerful Cargo package manager. The book then covers key topics such as bindings and mutability, ownership, conditionals, loops, functions, structs and enums, and more. The book also explains how to handle errors in Rust. Furthermore, the book explores advanced topics such as smart pointers, concurrency, and even building a desktop application using GTK. By the end of the book, you will be able to build powerful and resilient apps with Rust.

What you will learn
? Create concurrent programs in Rust using threads.
? Learn how to build a desktop app using GTK.
? Understand how and when (not) to use Unsafe Rust.
? Get familiar with the common error handling patterns in Rust.
? Learn how to build a Desktop app using Tauri.

Who this book is for
This book is for programmers who are familiar with C/C++ and are looking to add Rust to their toolbelt.

Table of Contents
1. Introduction to Rust
2. OOP in Structs and Enums
3. Error Handling
4. Project – Building a CLI App
5. Concurrency in Rust
6. Networking in Rust
7. Project – GTK App
8. Unsafe Rust and FFI
9. Metaprogramming
10. Project – StdLib for Mufi
11. Project – App in Tauri

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Rust for C++ Programmers an online PDF/ePUB?
Yes, you can access Rust for C++ Programmers by Mustafif Khan in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

    Citation styles for Rust for C++ Programmers

    APA 6 Citation

    Khan, M. (2023). Rust for C++ Programmers ([edition unavailable]). BPB Publications. Retrieved from https://www.perlego.com/book/3852033 (Original work published 2023)

    Chicago Citation

    Khan, Mustafif. (2023) 2023. Rust for C++ Programmers. [Edition unavailable]. BPB Publications. https://www.perlego.com/book/3852033.

    Harvard Citation

    Khan, M. (2023) Rust for C++ Programmers. [edition unavailable]. BPB Publications. Available at: https://www.perlego.com/book/3852033 (Accessed: 3 July 2024).

    MLA 7 Citation

    Khan, Mustafif. Rust for C++ Programmers. [edition unavailable]. BPB Publications, 2023. Web. 3 July 2024.