Custom Virtual Thread Schedulers, CPU Cache Optimization and Work Stealing

Custom Virtual Thread Schedulers, CPU Cache Optimization and Work Stealing

From airhacks.fm podcast with adam bien by Adam Bien

February 15, 2026 · 1h 14m · Episode 384

About this episode

The episode features a discussion on advanced programming techniques and optimizations with Francesco Nigro.

An airhacks.fm conversation with Francesco Nigro ( @forked_franz ) about: break dancing and basketball including meeting Kobe Bryant in Italy during a dunk competition, using AI coding assistants like Claude Opus 4.5 and GitHub bots for infrastructure setup and CI/CD pipeline configuration, limitations of LLMs for novel performance-sensitive algorithmic work where training data is scarce, branchless IPv4 parsing optimization as a Christmas coding challenge, CPU branch misprediction costs when parsing variable-length IP address octets, converting branching logic into mathematical operations using bit tricks for better CPU pipeline utilization, LLMs excelling at generating enterprise code based on well-documented standards and conventions, providing minimal but precise documentation and annotations to improve LLM code generation quality, the Boundary Control Entity BCE architecture pattern and standards-based development, the core problem of thread handoff between event loops and ForkJoinPool worker threads in frameworks like quarkus Vert.x and Micronaut , mechanical sympathy implications of cross-core memory access when serialized data is allocated on one core and read by another…

People in this episode

Host: Adam Bien

Guest: Francesco Nigro

Topics covered

  • virtual thread scheduling
  • CPU optimization
  • AI coding assistants
  • performance-sensitive algorithms
  • IPv4 parsing
  • event loop management
  • cache coherency

Keywords

  • virtual threads
  • CPU cache
  • AI coding
  • branchless parsing
  • event loops
  • ForkJoinPool
  • BCE architecture

Mentioned in this episode

Organizations: GitHub, quarkus, Vert.x, Micronaut, netty-virtual-thread-scheduler

Products: Claude Opus 4.5

More episodes of airhacks.fm podcast with adam bien

Explore listener stats, chart rankings, contacts and more on the airhacks.fm podcast with adam bien podcast page.