filmov
tv
[normalized Sound] A deep dive into dispatching techniques - Jonathan Müller - Meeting C++ 2022

Показать описание
A deep dive into dispatching techniques - Jonathan Müller - Meeting C++ 2022
At the core of an interpreter is a loop that iterates over instructions and executes them in order. This requires dispatching: based on the current instruction, it needs to select different code. A fast interpreter requires a fast instruction dispatcher, but so does everything else that needs to switch over a fixed set of different options.
This talk investigates at various dispatching techniques, from virtual functions over simple switch statements to jump tables. We'll look at performance analysis tools, benchmarks, and lots and lots of assembly code, in order to learn ways to trick the compiler into generating the assembly code that we actually want.
Even if you don't need to actually write an interpreter or other dispatcher, you will learn a lot about optimization.
At the core of an interpreter is a loop that iterates over instructions and executes them in order. This requires dispatching: based on the current instruction, it needs to select different code. A fast interpreter requires a fast instruction dispatcher, but so does everything else that needs to switch over a fixed set of different options.
This talk investigates at various dispatching techniques, from virtual functions over simple switch statements to jump tables. We'll look at performance analysis tools, benchmarks, and lots and lots of assembly code, in order to learn ways to trick the compiler into generating the assembly code that we actually want.
Even if you don't need to actually write an interpreter or other dispatcher, you will learn a lot about optimization.
[normalized Sound] A deep dive into dispatching techniques - Jonathan Müller - Meeting C++ 2022
Deep dive into Voice AI with Vapi (Full Tutorial)
A deep dive into Dolby Atmos mixing for music producers
Ableton Roar Deep Dive Tutorial
CLUSTER DELAY from Minimal Audio - Deep dive tutorial
The Most Annoying Computer Noise | Noctua Engineering Deep-Dive on Case Fans
Deep dive into the known forces
Deep Dive MH370 Episode 2: The First Vanishing
Deep dive guide to BX SSL 9000 J by Plugin Alliance - tutorial
Cortex Control Deep Dive
Ancient Rituals of the Warden | Minecraft Deep Dive
The Dungeons of the Elder Scrolls | Deep Dive
Titans Deep Dive. Humanity's Ultimate Weapon? Warhammer 40k Lore
The Roland JD-800: Deep Dive, Review and Sound Design Tutorial of Roland's 1991 Flagship Synthe...
Dead Space | Weapon Sound Effects Comparison | Audio Deep-Dive Part 3 (2022)
How To Make Your Lungs Explode When Scuba Diving
Iran's Missiles: Ted Postol sets the record straight
Deep Dive: MH370 - Episode 7: Frequency
A Super Mario Sunshine Deep Dive
Iran's Missiles: Ted Postol sets the record straight
A Deep Dive Into Episode - Choose Your Story
DEEP DISCOG DIVE: The Strokes
Saturation Diving. A good day at the office.
Divers React to INSANE solo deep dive on air
Комментарии