Stream: cranelift

Topic: blog post on code generation concepts in Cranelift


view this post on Zulip Benjamin Bouvier (Feb 22 2021 at 16:50):

I've written a blog post on Cranelift last week, it might be of interest if you want to learn more about the concepts of the code generation backend we've been working on for the last year (in particular, register allocation). It's still pretty high-level, but might be useful if you're hacking (or planning to!) on Cranelift: https://blog.benj.me/2021/02/17/cranelift-codegen-primer/

Cranelift is a code generator written in the Rust programming language that aims to be a fast code generator, which outputs machine code that runs at reasonable speeds. The Cranelift compilation model consists in compiling functions one by one, holding extra information about external entities, like external functions, memory addresses …

Last updated: Nov 22 2024 at 17:03 UTC