TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cutting Down Rust Compile Times from 30 to 2 Minutes with One Thousand Crates

2 pointsby gz09about 1 month ago

1 comment

zeristorabout 1 month ago
Interesting, tweaking sounds like a very minimal intervention. I’d imagine this would need to be refactored but then maybe things are different in Rust.<p>“Instead of emitting one giant crate containing everything, we tweaked our SQL-to-Rust compiler to split the output into many smaller crates.”<p>It seems a bit weird the developer has a 64 core machine and suddenly realises the cores are dormant.<p>I was expecting some DAG set up, and it motors its way through to the end.