4min chapter

Software Engineering Radio - the podcast for professional software developers cover image

SE-Radio-Episode-266:-Charles-Nutter-on-the-JVM-as-a-Language-Platform

Software Engineering Radio - the podcast for professional software developers

CHAPTER

JRuby Compiler

JRuby is a Ruby-inspired language that compiles to Java directly there without a runtime. It's essentially a port of MRIs, Bison Grammar. So pretty much line for line port both in the lexer and the parser part. JRuby 1.7 would just interpret that AST. In 9000 we run an additional compiler against that AST. That gets compiled into our own intermediate representation, basically our own byte code form. We can eliminate dead code. Then eventually if the code runs enough and it gets hot just like in the JVM we will jit it. And in our case that's jitting to JVM byte code.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode