The Zig programming language provides support for self-promotion (bootstraping)

Changes have been made to the Zig programming language to allow the stage2 Zig compiler written in Zig to build itself (stage3), making the language self-hosting. It is assumed that this compiler will be offered by default in the upcoming release 0.10.0. Stage2 is still incomplete, as there is no support for run-time checks, there are differences in the semantics of the language, and so on.

The implemented change will add support for "hot swapping" of code at runtime (i.e. without interruption, hot code swapping), partially get rid of the binding to LLVM and C ++ (thus facilitating the process of porting to new architectures), and dramatically reduce build time programs, as well as speed up the development of the compiler.

Source: opennet.ru

Add a comment