Skip to main content

Writing a dynarec, step by step

UB4.136 | Day 2 | 16:35 - 16:55 | Speakers: Paul Cercueil

Writing a dynarec, step by step
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

Emulators for computers or consoles that came out in the 21st century are generally built around a Just-In-Time (JIT) compiler, more often called dynamic recompiler or "dynarec" in the emulation scenes. They are very complex pieces of software that take years to create, and get more and more complex the faster they become.

In 2014 I started to work on my own dynarec for the well-known Playstation emulator, PCSX. In this talk, I will walk through the steps of creating Lightrec, from the original concept idea of a cross-platform dynarec, all the way to running it on the Sega Dreamcast.

Speakers

Paul Cercueil

Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.