3 ms·
That’s true, but that would be fairly trivial to do in a C program with only stack variables. Just always have only 1 mutable reference. Something like C++ or
by mr_00ff00 4y ago
That’s true, but that would be fairly trivial to do in a C program with only stack variables. Just always have only 1 mutable reference.
Something like C++ or Zig could enforce those rules even more easily.
- pdimitar 4y agoYeah, I don't disagree. Shame they never went direction and instead were like "REAL MEN DON'T PROTECT AGAINST BUGS! WE DON'T WRITE BUGS!". But oh well. That's why we have the more modern languages these days.