Introductie Rust voor Linux User Group Nijmegen 14 juni 2022
Bèr berkes
Kessels
berkes
KesselsSoftware is eating the world
– Marc Andreessen
De wereld, anno 2022, draait op C.
I call it my billion-dollar mistake…
– Tony Hoare, inventor of ALGOL W.
Roughly 70% of all serious security bugs in the Chrome codebase are memory management and safety bugs
– Google engineers
Rust is intended to be a language for highly concurrent and highly safe systems,
– Graydon Hoare inventor of Rust.
Op te lossen probleem: Memory Safety
String greeting = "Hello";
Rust Is the Industry’s ‘Best Chance’ at Safe Systems Programming – Microsoft
Ownership is Rust’s most unique feature, and it enables Rust to make memory safety guarantees without needing a garbage collector. – The Rust Handbook
By leveraging ownership and type checking, many concurrency errors are compile-time errors in Rust rather than runtime errors. – The Rust Programming Lanuage Handbook
Android, Amazon, Cloudflare, Discord, Dropbox, …
Microsoft, Google, IBM, Facebook, Huawei, Mozilla, Samsung, Kraken.
Signal, System76, Npm, Nextcloud, Fly.io.
Result<T,E>
,
Types, Traits, etc.: Decennia aan OOP uitbannen.