This working group is intended to provide a forum for all things related to code generation for Rust.
While rustc
produces decent binary code, there are huge opportunities for improvement, be it performance-wise or code size-wise. This working group intends to find ways to make it better.
- Find low-hanging fruits for easy gains, be it with more LLVM metadata, better data layouts or peephole optimisations.
- Improve LLVM itself for how it's used by the Rust compiler.
- Design new MIR-level optimisations.
Join our IRC channel (#wg-codegen
on moznet) or open an issue here to let us know about your idea du jour.
We follow the Rust Code of Contact. Any concerns should be brought to rust-mods@rust-lang.org.
The output of this working group is distributed under the following licenses:
- The code samples are licensed under the terms of both the MIT License and the Apache License v2.0.
- The written prose is licensed under the terms of the Creative Commons CC-BY-SA v4.0 license.