News for hackers. Stuff that matters.
Re:Guido on Python by cillian64 on Friday July 31, 2015 @10:32AM (#9981978)
If you make my huge NumPy arrays immutable, I will be very unhappy (unless I am significantly misunderstanding how this everything-is-immutable strategy works).

There might be a lot to be said for rust-style immutable-by-default.

Re:Guido on Python by eru on Sunday August 02, 2015 @08:32PM (#9993108)
First, you'd still have optional mutability. Second, arrays are rather simple data structures, but ones where you often care about performance--small tight loops are common. Compare that to the data structure that eg holding your options and flags for the computation: you don't do much computation on that, but you have lots of invariants that you want to uphold---ie lots of code, but each bit executed roughly once, no tight loops.
Re:Guido on Python by juliangregorian on Friday July 31, 2015 @02:43PM (#9983521)
I assume using some form of copy-on-write.