by jkilpatr · 4y ago · 0 comments
Which is prioritizing a lower barrier to entry for new programmers at the cost of safety checks that help prevent humans from making mistakes at runtime.
It seems to me if our conclusion is humans, no matter how skilled, are flawed, we should be willing to do absolutely anything to lower the barrier to entry except removing checks on correctness.
> those who [used the GC] required only about a third as much time (4 hours vs. 12 hours).
Surely you can devote a chunk of your newfounded time to find use-after-free bugs.
Data races are currently prevented by the borrow checker. Any GC in order to provide equivalent correctness would need to do so as well.
> Rust permits only one mutable reference to a value at a time... With Bronze, mutation is permitted through all references to each garbage-collected object, with no extra effort. A key tradeoff is that Bronze does not guarantee thread safety; as in other garbage collected languages, it is the programmer’s responsibility to ensure safety.
Allowing mutability anywhere is what fundamentally makes Bronze easier to learn, and more error-prone.