Rust v.s Java 17 Pattern Matching @JeremyChone
Rust v.s Java 17 Pattern Matching  @JeremyChone
Uploaded September 2021 | Updated September 2026, 17 hours ago
Rust Programming for Java Developers, Rust Pattern Matching v.s. Java 17 Pattern Matching deep dive.

Help support this channel: patreon.com/jeremychone

- 00:00 - Intro
- 00:15 - Base Match v.s. Switch
- 01:22 - Rust Enum Data & Match
- 02:35 - Java Class Switch
- 03:50 - Java Sealed Class Switch
- 04:26 - Java Sealed Record Switch
- 05:14 - Rust enum ~ Sealed Record or Class?
- 05:11 - Rust match reference
- 06:46 - Rust Match Guards
- 07:35 - Java Switch Guards
- 08:23 - Destructuring in Java 18 / 19
- 08:57 - Rust nesting destructuring & matching
- 10:20 - Rust match tuple support
- 12:10 - Powder Day (i.e., no friend day)
- 13:07 - Conclusion

#RustLang #Java17 #Programming

Rust for Java Developers 3/3 - Understand Ownership - youtu.be/Vg1LGHuAPP8
Rust for Java Developers 2/2 - Java 17 Side by Side - youtu.be/_xiPUXMZeyU
Rust for Java Developers 1/2 - Introduction - youtu.be/iFdh4sPC5Tg

Jeremy Chone:

- Twitter - twitter.com/jeremychone
- Discord On Rust - discord.gg/W2besKCzjx
- AWESOME-APP - https://awesomeapp.dev - Rust Templates for building awesome applications.
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)


=== Notes, Comments, and Credits:

- Decided to do this video after a great Reddit comment from u/msgc82 : reddit.com/r/java/comments/ptwqro/comment/he3bfk7

- Another good Reddit comment from u/kwbr3000, was that at 02:41, I said "Java enum do not support application data," where I should have said, "Java enum does not support variant-specific data..." See comment: reddit.com/r/java/comments/pz6nza/comment/hf3miks

Other popular Rust Programming videos:

- Desktop Application Code Rust Programming template full Overview: youtube.com/watch?v=BY_ZjPGqJJk&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Tauri Quick Introduction (Desktop App wit Rust Programming): youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Web App tutorials series: youtube.com/watch?v=VIig9IcQ-w8&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q&list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Bevy Full Tutorial - Game Development with Rust: youtube.com/watch?v=j7qHwb7geIM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust for Java Developers series: youtube.com/watch?v=iFdh4sPC5Tg&list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc&index=2&t=654s

Playlists:

- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Furst for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust v.s Java 17 Pattern MatchingRust for Java Developers 3/3 - Understanding OwnershipRust + SQLite:  Complete Tutorial (Schema, CRUD, JSON & Async)Rust to Postgres Database with SQLX - Rust Lang Tutorial 2021Rust Lang Tutorial 2021 - Primitive TypesJC Rust Live Coding ➜ GenAI Library - Adding Multi-Content to Streaming9 Rust Best Practices with Real Lib (part 1/3)Rust Axum Full Course - Web Development (GitHub repo updated to Axum 0.7)Rust Cross Compile - 1 Machine → 6 Targets (Linux/Mac/Windows Arm & x86)Rust Bevy Tutorial 1/3 - GameDev from Scratch!!!AI Production Coding - Pro/Coder AI Pack DemoLive Coding ➜ MCP Streamable Transport · Part 2
Jeremy Chone |

Rust v.s Java 17 Pattern Matching

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER