Astu tarinoiden maailmaan
1 of 64
Tietokirjallisuus
This book outlines a methodology to develop formally verified Just-in-Time compilers. Just-in-Time compilation is a technique to execute programs, where execution is interleaved with optimizations of the program itself. These compilers often produce fast executions, so much so that their use has grown greatly for dynamic programming languages. Most modern web browsers today use Just-in-Time compilation to speed up the execution of the JavaScript programs they execute.
However, the techniques used in Just-in-Time compilers can be particularly complex. This complexity can be a source of bugs and vulnerabilities. How can you make sure that your Just-in-Time compiler is bug-free? For traditional ahead-of-time compilers, many techniques have been developed to prevent compilation bugs. One such technique is formally verified compilation, where the compiler itself comes with proof that the semantics of the compiled program correspond to the semantics of the source program. But Just-in-Time compilers are more recent, less understood, and have been the target of far fewer verification efforts.
To bring formal verification to Just-in-Time compilation, the book identifies a set of specific verification challenges and presents novel solutions for each of them. Such challenges include dynamic optimizations, speculative optimizations, deoptimizations, and the interleaving of interpretation and machine code generation. The author repurposes proof techniques from formally verified ahead-of-time compilers like CompCert. Following this methodology, readers can develop Just-in-Time compilers and formally prove that they behave as prescribed by the semantics of the program they execute. All proofs within the book have been mechanized in the Coq proof assistant.
© 2025 ACM Books (E-kirja): 9798400713804
Julkaisupäivä
E-kirja: 28. tammikuuta 2025
Lähes miljoona tarinaa
Suosituksia juuri sinulle
Uusia Storytel Originals + eksklusiivisia sisältöjä kuukausittain
Turvallinen Kids Mode
Ei sitoutumisaikaa
Sinulle joka kuuntelet säännöllisesti.
1 käyttäjätili
50 tuntia/kuukausi
Ei sitoutumisaikaa
Sinulle joka kuuntelet ja luet usein.
1 käyttäjätili
100 tuntia/kuukausi
Ei sitoutumisaikaa
Sinulle joka haluat rajattomasti tarinoita.
1 käyttäjätili
Kuuntele ja lue rajattomasti
Ei sitoutumisaikaa
Kun haluat jakaa tarinoita perheen kanssa.
2-6 tiliä
100 tuntia/kk jokaiselle käyttäjälle
Ei sitoutumisaikaa
2 käyttäjätiliä
26.99 € /kuukausiSinulle joka kuuntelet vähemmän.
1 käyttäjätili
20 tuntia/kuukausi
Säästä käyttämättömät tunnit, max 20h
Ei sitoutumisaikaa
Suomi
Suomi