Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are documented ways to ensure that changes are visible across threads (e.g. locks). If these are not used, the compiler is within its rights to not go out of its way to pull changes from another thread.


Except python has a well documented global lock.


This thread is discussing Java, not Python


java has private attributes, python does not




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: