Where could someone read about implementing immutability checks in a compiler?
I’ve always wondered if there’s a way to know at compile time whether a value is being mutated, rather than throwing a runtime exception.
I’ve always wondered if there’s a way to know at compile time whether a value is being mutated, rather than throwing a runtime exception.
And in any case, I'm wondering about compiler-writing resources, not compilers.
I daresay you didn't even read what I wrote and just typed "hurr, Rust is good." I've seen a million comments like this, and it's largely the reason I'll never bother.