News for hackers. Stuff that matters.
Re:Clojure isn’t for me (2020) by adenozine on Friday April 15, 2022 @03:38PM (#31044812)
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.

Re:Clojure isn’t for me (2020) by khnov on Friday April 15, 2022 @07:18PM (#31047140)
Rust compiler do exactly what you need
Re:Clojure isn’t for me (2020) by adenozine on Friday April 15, 2022 @08:11PM (#31047584)
I wouldn't bother with rust under any circumstance.

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.

Re:Clojure isn’t for me (2020) by khnov on Saturday April 16, 2022 @08:28AM (#31051770)
I think you didn't read what I wrote, did I say 'rust is good' ? I meant the rust compiler contains logic you are searching for. And you need to learn about being polite to people trying to help you.
Re:Clojure isn’t for me (2020) by scns on Saturday April 16, 2022 @06:16AM (#31051179)
He gave you an answer and your are beeing rude to him. Maybe check out how the Kotlin compiler does it.