Re:Forget Borrow Checkers: C3 Solved Memory Lifetimes with S...
by norman784 on Monday July 14, 2025 @09:18AM
(#44559852)
The issue, most commonly noted by devs, with proc macros is that it slows down the incremental compilation times, because proc macros are recomputed each time.
[ Parent
| on HN ]
Re:Forget Borrow Checkers: C3 Solved Memory Lifetimes with S...
by nextaccountic on Monday July 14, 2025 @08:47PM
(#44566829)
There's no reason proc macros invocations can't themselves be cached. For the few macros that are not idempotent (an idea that is itself absurd) an attribute like `#[proc_macro_non_cacheable]` should be available