Seven backends

You will learn

The names of the 7 backends and how much code each wrote for one small spec.

The compiler in your browser has 7 backends: c, js, rust, ts, verilog, verilog_hir and zig. Each reads the same parsed spec and writes code in its language; the verilog_hir backend is written from the hardware view, HIR. The table shows the bytes each backend wrote for the lesson spec, measured with the compiler on this site. Bigger is not better: each language needs a different amount of text.

Open the interactive lesson →