mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 18:08:15 +02:00
Add Rust and C++ integration points for cloning lazy function compile payloads, compiling them to GC-free bytecode off the main thread, and materializing the result later on the main thread. The cloned payload lets background compilation race with lazy main-thread compilation without sharing AST ownership between threads. Compiled function artifacts recursively include nested functions, so materialization can discard the corresponding AST subtree.