Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Implementing a Simple JVM in Rust

Devoxx via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This live-coding talk builds a simple JVM interpreter in Rust, explaining bytecode interpretation, class-file parsing, and memory management. It includes a Rust primer and develops the interpreter to run simple Java classes.

Syllabus

Intro
Who am I
Java Champion
Goals
Java Version
The JVM
The bytecode
The class file
Invoke code
Model local variables
Building a first implementation
A few things about Rust
Rust project structure
Non erased generics
Algebraic data types
Handling of storage
Misunderstood assignment semantics
Rust will rather fail your compilation
Examples of perfectly safe Rust programs
If youve programmed in C
Lets meet some Rust code
TDD
Java byte codes
Generics
OptRec
Exact Method
Declaration
Looping
Vectors
Advanced
eval
icons
return
enum
colon
files
Const
Runtime Checking
Testing
FieldHaver
Go Clean
Test Cycle
Top Level
Runtime Datastore
Class Name
Function Pointer
Fixing ocelots
Bootstrap
Whats next

Taught by

Devoxx

Reviews

Start your review of Implementing a Simple JVM in Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.