Re:Zig's Incremental Compilation Internals
by steveklabnik on Tuesday July 28, 2026 @04:29PM
(#49089508)
How do you get the information to check properly without lifetimes in the signature?
[ Parent
| on HN ]
Re:Zig's Incremental Compilation Internals
by dnautics on Tuesday July 28, 2026 @04:33PM
(#49089550)
lifetimes are not the only way to check safety. you just need to detect conflicts in the data dependency graph, lifetimes are in some way an overspecification (for safety, there are autoaliasing advantages). i suspect agnostic conflict detection is probably more expensive, too, but 1) borrow checking was not the slow step in rust compilation and 2) maybe you dont have to check for memory safety on every compile. on commit or on ci is probably fine
Re:Zig's Incremental Compilation Internals
by steveklabnik on Tuesday July 28, 2026 @04:44PM
(#49089681)
Gotcha! Well this sounds like a cool project, I look forward to seeing how it turns out.
Re:Zig's Incremental Compilation Internals
by steveklabnik on Tuesday July 28, 2026 @04:55PM
(#49089782)
Starred!