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

YouTube

Modern Bytecode Instrumentation with ByteBuddy

JetBrains via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the intricacies of bytecode instrumentation and JVM internals in this comprehensive interview featuring Rafael Winterhalter, creator of ByteBuddy, one of the most critical libraries in modern Java development. Discover how bytecode instrumentation powers essential tools like Mockito, Hibernate, and countless monitoring solutions across the JVM ecosystem. Learn about ByteBuddy's design philosophy and its role in replacing CGLIB while addressing early development challenges. Gain insights into real-world adoption stories and the open-source reality of maintaining a widely-used library. Understand performance myths and JVM behavior, including discussions of JVM bugs, JIT issues, and instrumentation pitfalls that developers encounter. Examine the challenges of supporting legacy Java versions in enterprise environments, including why companies still run Java 5/6 and the economics behind these decisions. Delve into the complexities of testing across multiple JDKs and the evolution of Java with modules and unsafe operations. Hear about the realities of maintaining a one-person open-source project, including developer evangelism, consulting versus product engineering, and managing burnout and sustainability. Explore perspectives on AI in software development, rethinking Java build tools, and addressing build security and dependency risks in modern development workflows.

Syllabus

00:00 – Intro
01:10 – Rafael's background & the origin of ByteBuddy
03:00 – What ByteBuddy does and why it matters
04:32 – Replacing CGLIB and early challenges
07:05 – ByteBuddy’s design philosophy
09:15 – Mockito, Hibernate and real-world adoption
13:14 – Open source reality
15:48 – Performance myths and JVM behavior
18:47 – JVM bugs, JIT issues and instrumentation pitfalls
21:11 – Supporting legacy Java in enterprise
23:56 – Testing ByteBuddy across many JDKs
25:53 – Why companies still run Java 5/6
28:25 – Engineering vs economics
30:39 – Modules, unsafe and evolving with Java
36:12 – Maintaining a one-person project
39:31 – Conferences and developer evangelism
42:02 – Consulting vs product engineering
49:51 – Burnout and sustainability
52:02 – Thoughts on AI in software development
57:13 – Rethinking Java build tools
01:05:07 – Build security and dependency risks
01:10:16 – Giveaway
01:10:48 – Rapid fire and outro

Taught by

IntelliJ IDEA by JetBrains

Reviews

Start your review of Modern Bytecode Instrumentation with ByteBuddy

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.