|
|
|
|
|
by donio
323 days ago
|
|
The Go toolchain is a nice illustration of this approach working in practice. It fully bootstraps in 90 seconds on my aging laptop and since it's fully self-hosted it doesn't even need a C compiler unless you want cgo support. LLVM takes 2 hours to build on the same host and zig (with the LLVM backend) is another 20 minutes. It will be awesome if that can be brought down to 2 minutes or less. |
|
Building Zig with Zig:
Bootstrapping with only a C compiler dependency (not even make or shell!):