Stream: beginners

Topic: Compilation process


view this post on Zulip Prajwal S N (Oct 09 2022 at 10:53):

Just to clarify,
Roc code -> Mono IR -> LLVM IR -> Assembly
The first two steps are performed by Rust, and the third by LLVM. Between the second and third steps, the Zig files are compiled into LLVM IR and added.
Correct?

view this post on Zulip Ayaz Hafiz (Oct 09 2022 at 13:28):

Correct. We compile Zig to LLVM ahead of time, but your mental model is correct


Last updated: Jul 05 2025 at 12:14 UTC