Re:Zig's Incremental Compilation Internals
by steveklabnik on Wednesday July 29, 2026 @12:03PM
(#49099259)
It really depends on a lot of things. This design is possible, yes, but it also means that you can't have some of the same features as Rust has. Rust's traits can be "non-dyn safe" (which used to be called "non-object safe"), because sometimes you cannot use them via a vtable, and must use them via monomorphization. So you can have languages that do things this way, but they make other tradeoffs (either performance ones or power ones, depending).
[ Parent
| on HN ]
There are no comments on this comment yet.