Rust vs Java: A Staff Engineer's perspective
Security Union
Are you trying to decide between Rust and Java for your next project? Look no further! In this video, Dario Lencina, staff engineer compares the two programming languages in terms of concurrency, syntax, licensing, and tooling. Whether you're a seasoned developer or new to the scene, this video has something for everyone. So sit back, relax, and let us help you make an informed decision on Rust vs Java.
If you're wondering if Rust is a good language for you, or if Java is still the king of the hill, then this video is for you! I'll share my thoughts on the different languages, and let you know which one I think is the best for certain scenarios. So what are you waiting for? Watch the video and make your decision!
I am doing this, because you, my dear subscribers requested it.
Here's my cheatsheet so that you can follow along! https://security-union.github.io/rust-vs-java/
Code: https://github.com/security-union/rust-vs-java
00:14 Apple Pay uses Java 00:21 AWS wants to contribute to Rust 00:56 Rust vs Java motivation and methodology 01:36 How not to compare java and rust 02:28 Java language goals 02:28 Rust language goals 03:54 Java Licensing 04:50 Rust Security 05:43 How Memory Management works in java 06:15 How Memory Management works in rust 07:07 Dangling pointer in Java 08:23 Dangling pointer in Rust 09:10 Null pointer in Java 09:38 There are no null pointers in Java 09:38 Making rust panic using refcell 10:00 Compilation 10:46 Blocking Concurrency 10:57 Deadlock in java 12:10 Deadlock in rustlang 13:19 Non Blocking concurrency 13:30 Create multithreaded mpmc channel with java vs rust 18:21 Tooling 19:00 Install java sdk with sdkman 19:13 managing rust toolchain with rustup 19:54 Using sdk man to install gradle 20:49 create rust project with cargo 21:14 Spring boot vs actix memory and cpu comparison 23:49 Conclusions: both are awesome, (but Rust is newer and better) ... https://www.youtube.com/watch?v=-JwgfNGx_V8
227843735 Bytes