Re:The CPython Bytecode Compiler Is Dumb
by bakery2k on Monday February 25, 2019 @04:33AM
(#19244276)
As I understand it, the JVM can assume that local variables are not modified by other threads. My question is why can't CPython make the same assumption?
[ Parent
| on HN ]
Re:The CPython Bytecode Compiler Is Dumb
by anowlcalledjosh on Monday February 25, 2019 @06:32AM
(#19244841)
Because it's not true! Threads in Python can muck around with the state of any other thread, at any time – it would be a language change to assume otherwise.