Speculation in JavaScriptCore | WebKit
webkit.org · 33,883 words · saved by 1 readers
This post is all about speculative compilation, or just speculation for short, in the context of the JavaScriptCore virtual machine.
Speculation in JavaScriptCore Jul 29, 2020 by Filip Pizlo @filpizlo This post is all about speculative compilation, or just speculation for short, in the context of the JavaScriptCore virtual machine. Speculative compilation is ideal for making dynamic languages, or any language with enough dynamic features, run faster. In this post, we will look at speculation for JavaScript. Historically, this technique or closely related variants has been applied successfully to Smalltalk , Self , Java , .NET , Python , and Ruby , among others. Starting in the 90’s, intense benchmark-driven competitio
saved by
related reading
- A crash course in just-in-time (JIT) compilers - Mozilla Hacks - the Web developer bloghacks.mozilla.org
- abseil / Performance Hintsabseil.io
- JIT Compiling Code in 5μsmalisper.me
- Speeding Up the Webcola Graph Viz Library with Rust + WebAssembly - Casey Primozic's Homepagecprimozic.net
- Speculative Programmatic Tool Callingalexzhang13.github.io
- A Deep Introduction to JIT Compilers: JITs are not very Just-in-time | kipply's blogkipply.github.io
- Build your own WebAssembly Compilerblog.scottlogic.com
- The Alternative Implementation Problempointersgonewild.com
- How Compiler Explorer Works in 2025 — Matt Godbolt’s blogxania.org
- Just-in-time compilation - Wikipediaen.wikipedia.org
- CoffeeScriptcoffeescript.org
- Looking back at speculative decodingresearch.google