Rust for Java developers
A quick introduction to the Rust Language. Code comparisons between Java and Rust, compiler features, type system, environment and integrating the two languages.
Amphithéâtre Lovelace
Topics we will see:
- Brief History of Rust - how did the project get started, main goals, first stable releases.
- Main types and Functions - writing a very basic code and a deep comparison between Java style and Rust style. The level of verbosity is similar; however, the way you explicit the types may be different.
- Structs and Traits, contrasting them with Interfaces and Abstract Classes in Java.
- Lifetime vs GC - how can we remove objects from the memory without a GC? An interesting alternative approach from Rust to Java's GC. We will show the good and the complicated parts.
- Notes about the compiler