Why Nostr? What is Njump?
2024-03-20 19:33:33

Ivan, the Language Mangler 🦀 on Nostr: How I [the author of the article] reduced (incremental) Rust compile times by up to ...

How I [the author of the article] reduced (incremental) Rust compile times by up to 40%, https://www.coderemote.dev/blog/faster-rust-compiler-macro-expansion-caching/.

The idea is pretty simple but clever: cache the output of proc macros, if it hasn’t changed, no need to recompile the associated code.

The author explains the caveat of this approach as not all proc macros are pure.

#RustLang #compiler #performance #macros
Author Public Key
npub1zthg0jj2tq9audsrf74uzdzwqyal572rc36f6h79xqy57epq2t9q2msfqz