Parallelize codegen
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.4k
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
I'm struggling with iteration because my crate already takes 30s+ to compile even after minor incremental changes. The process is clearly single-threaded, with remaining 63 threads available on my CPU contributing nothing. And it gets even slower as I add more code to it.
I do not know why it is single-threaded today, but it would be a big improvement if compile times were significantly shortened using parallelism.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the codegen pipeline and identifying why it is single-threaded, then measure compilation before and after; done means code generation uses parallelism and compile times are significantly shorter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100