Diving Into Rust For The First Time
Through the concept of zero-cost abstractions, C++ has shown that it is possible to combine low-level control with high-level programming concepts. Rust is language that aims to offer the same sorts of zero-cost abstractions that C++ is capable of, while also enforcing memory safety and data-race freedom. The secret sauce is Rust's core notion of "ownership", which enables:
- Memory safety without garbage collection;
- Concurrency without data races,
- Abstraction without overhead.
In this talk, I'll explain ownership and show how Rust uses it to guarantee thread safety, amongst other things. I'll also talk about how Rust is designed to scale to large code-bases, sharing some of our experiences here at Mozilla from integrating Rust code into Firefox.
One final theme of the talk is that the benefits of ownership go beyond having fewer bugs: once you are freed from the need to prevent memory-safety violations, it becomes possible to write -- and **maintain** -- programs that aggressively pursue parallelization and other kinds of optimizations that would have been too risky or too difficult before.
EVENT: C++Now 2017
SPEAKER: Niko Matsakis
PERMISSIONS: The original video was published on BoostCon YouTube channel with the Creative Commons Attribution license (reuse allowed).
ORIGINAL SOURCE: https://www.youtube.com/watch?v=lO1z-7cuRYI
Видео Diving Into Rust For The First Time канала Coding Tech
- Memory safety without garbage collection;
- Concurrency without data races,
- Abstraction without overhead.
In this talk, I'll explain ownership and show how Rust uses it to guarantee thread safety, amongst other things. I'll also talk about how Rust is designed to scale to large code-bases, sharing some of our experiences here at Mozilla from integrating Rust code into Firefox.
One final theme of the talk is that the benefits of ownership go beyond having fewer bugs: once you are freed from the need to prevent memory-safety violations, it becomes possible to write -- and **maintain** -- programs that aggressively pursue parallelization and other kinds of optimizations that would have been too risky or too difficult before.
EVENT: C++Now 2017
SPEAKER: Niko Matsakis
PERMISSIONS: The original video was published on BoostCon YouTube channel with the Creative Commons Attribution license (reuse allowed).
ORIGINAL SOURCE: https://www.youtube.com/watch?v=lO1z-7cuRYI
Видео Diving Into Rust For The First Time канала Coding Tech
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
A Case for Oxidation: The Rust Programming LanguageRust in the Browser for JavaScripters: New Frontiers, New PossibilitiesRust vs Go - Which is Better and Why?1 Problem, 6 Programming Languages (C++ vs Rust vs Haskell vs APL vs Clojure vs Scala)Intro to Rust-lang (Concurrency, Threads, Channels, Mutex and Arc)Rust at speed — building a fast concurrent databaseBuild Web Apps With RUST (aka Intro Into Web Framework ‘Rocket’)Rust 2021 Edition ExplainedRust Async Programming in 2018 • Katharina Fey • GOTO 2018Rust: A Language for the Next 40 Years - Carol NicholsWriting Linux Kernel Modules in Safe Rust - Geoffrey Thomas & Alex GaynorCommon Collections in RustRustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine WestRust Crash Course | RustlangMatthias Endler - Idiomatic RustError Handling in RustWhat can you build in Rust?!Building cross-platform Go GUIs fast using FyneRust meetup - Using C Libraries in Rust