Ascolta e leggi

Entra in un mondo di storie

  • Ascolta e leggi quanto vuoi
  • Oltre 400.000 titoli
  • Prova gratis per 14 giorni, poi 9.99€/mese
  • Disdici quando vuoi
  • Ascolta titoli esclusivi e Storytel Original
Prova gratis
Device Banner Block 894x1036
Cover for Formal Verification of Just-in-Time Compilation

Formal Verification of Just-in-Time Compilation

Serie

1 di 66

Lingua
Inglese
Formato
Categoria

Non-fiction

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 (Ebook): 9798400713804

Data di uscita

Ebook: 28 gennaio 2025

Scegli il tuo piano

  • Più di 400.000 titoli

  • Kids Mode (accesso sicuro per bambini)

  • Scarica e ascolta offline

  • Disdici quando vuoi

Basic

Le tue prime storie, al prezzo più basso.

6.49 € /mese
  • 1 account

  • 10 ore/mese

  • Disdici quando vuoi

Prova gratis
Il più popolare

Unlimited

Ascolto illimitato. Dove vuoi, quando vuoi.

9.99 € /mese
  • 1 account

  • Ascolto illimitato

  • Disdici quando vuoi

Prova gratis

Unlimited Annuale

Paghi subito 89.99€/anno, l'equivalente di 7.49€/mese, per 1 anno di ascolto illimitato.

89.99 € /anno
12 mesi al prezzo di 9
  • 1 account

  • Ascolto illimitato

  • Disdici quando vuoi

Prova gratis

Unlimited Family

Risparmia con più account. Ognuno con le proprie storie.

14.99 € /mese
  • 2 account

  • Ascolto illimitato

  • Disdici quando vuoi

Prova gratis