Bootstrapping is a computer science method to create a programming language, that is compiled with itself. In most cases, a compiler is written in a language, w…
Bootstrapping is a computer science method to create a programming language, that is compiled with itself. In most cases, a compiler is written in a language, where the compiler is rewritten for the language that is being compiled.[1]
Most popular programming languages all follow a pattern of bootstrapped compilers. Some notable ones include C, C#, D, Java, Pascal, Python, Rust, V (Vlang), and more.
Bootstrapping usually has just a few stages: [2]
In 1962, Tim Hart, and Mike Levin wrote a compiler for LISP, inside of LISP.[4] They improved the compiler until it was capable of compiling itself.
The idea of a compiler written in the language it compiles stirs up the old 'chicken-or-the-egg' conundrum: Where does the first one come from?
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.