| ▲ | pron 7 hours ago | |||||||||||||||||||||||||
> And "opt-in non-tracing GC that isn't used largely throughout the standard library" is not a reasonable definition. Given that refcounting and tracing are the two classic GC algorithms, I don't see what specifying "non tracing" here does, and reference-counting with special-casing of the one reference case is still reference counting. I don't know if the "reasonable definition" of GC matters at all, but if it does, this does count as one. I agree that the one-reference case is handled in the language and the shared reference case is handled in the standard library, and I think it can be reasonable to call using just the one-reference case "not a GC", but most Rust programs do use the GC for shared references. It is also true that Rust depends less on GC than Java or Go, but that's not the same as not having one. > When it comes to having more segfaults, we know. Zig "wins" most segfaults per issue Razzie Award. And Rust wins the Razzie Award for most painful development and lack of similarly powerful arenas. It's like declaring that you win by paying $100 for something while I paid $50 for something else without comparing what we got for the money, or declaring that you win by getting a faster car without looking at how much I paid for mine. > This is what happens when you ignore one type of memory safety. When you have less safety for any property, you're guarnateed to have more violations. This is what you buy. Obviously, this doesn't mean that avoiding those extra violations is necessarily worth the cost you pay for that extra safety. When you buy something, looking just at what you pay or just at what you get doesn't make any sense. The question is whether this is the best deal for your case. Nobody knows if there is a universal best deal here let alone what it is. What is clear is that nothing here is free, and that nothing here has infinite value. | ||||||||||||||||||||||||||
| ▲ | Ygg2 6 hours ago | parent [-] | |||||||||||||||||||||||||
> I don't know if the "reasonable definition" of GC matters at all If you define all non-red colors to be green, it is impossible to talk about color theory. > And Rust wins the Razzie Award for most painful development and lack of similarly powerful arenas. That's a non-quantifiable skill issue. Segfaults per issue is a quantifiable thing. > When you have less safety for any property, you're guarnateed to have more violations. If that's what you truly believed outside some debate point. Then you'd be advocating for ATS or Ada.SPARK, not Zig. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||