Overview
Explore a quick introduction to the Rust programming language tailored for Java developers in this 43-minute Devoxx conference talk. Dive into code comparisons between Java and Rust, examining compiler features, type systems, development environments, and ways to integrate the two languages. Learn about Rust's brief history, main goals, and first stable releases. Compare basic code structures and verbosity levels between Java and Rust, focusing on how types are explicitly declared. Contrast Rust's structs and traits with Java's interfaces and abstract classes. Discover Rust's alternative approach to memory management through lifetimes instead of garbage collection, weighing both advantages and challenges. Gain insights into Rust's compiler, variable bindings, ownership model, and borrowing system. Examine how Rust prevents common programming issues through its lifetime system and explore generics in Rust. Address top complaints about Rust and bonus topics on performance. Benefit from the speaker's diverse experience in Java, C++, and Ruby as you explore this systems programming language.
Syllabus
Intro
Disclaimer
Good choices
Meet Rust!
Quick view at Rust
Rust - features
Rust - it meets the requirements
More about Rust
Variable bindings own the values in Rust
What?
It is similar to Read-Writers lock
About exclusive writers
Top issues that borrowing prevents
In Rust, every reference has some lifetime associated with it.
You can explicit lifetimes in Rust
Top issues that lifetime system prevents
Classes
Interfaces
Rust Generics
Top Rust complaints
Bonus #2: Performance
Bonus #3: Free GIF
References - Rust Intro
Taught by
Devoxx