Tool

yk

yk is a meta-tracing technology that adds a just-in-time compiler to existing C-based language interpreters. It records interpreter execution, identifies hot loops, generates optimized machine code, and falls back to the interpreter when necessary while preserving the interpreter's language behavior. Its implementation uses ykllvm and serialized intermediate representations, with promotion hints, deoptimization, safepoints, and shadow stacks to manage compiled execution. The project is presented as a way to optimize interpreters such as Lua without maintaining a separate language implementation.

Mentioned in 1 video ↓

What yk is used for

1 use taken from transcripts — each links to the moment in the video.

  • A meta-tracing technology that automatically adds a just-in-time compiler to existing C-based language interpreters. It records interpreter execution, generates optimized machine code for hot loops, and falls back to the interpreter when needed while preserving the interpreter's language behavior.

Videos mentioning yk

1 in the library.