News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by soulbadguy on Friday July 28, 2023 @11:19PM (#36916527)
There are a lot of good things about java (and the jvm by some extend), but good concurency is not one of them.
Re:No-GIL mode coming for Python by bitcharmer on Saturday July 29, 2023 @03:35AM (#36917821)
This is not true. JSR-133 was one of the first and most prominent implementation of memory model among general purpose languages. You don't seem to know enough about the platform and it's history to make definite statements like that, imo.
Re:No-GIL mode coming for Python by grumpyprole on Saturday July 29, 2023 @05:27AM (#36918433)
JSR-133 was quite a few years after Java's release. But even after these changes, many problems remained. For example, standard library classes were often not thread safe out-of-the-box, even something seemingly innocuous like a date formatter class would malfunction in a threaded context. The rules around thread safety were also very complex, especially with regard to constructing objects. IMHO, it did not compare well with other languages around the time built with concurrency in mind, for example Erlang. I was once very fortunate to meet Joe Armstrong and we briefly discussed Java, suffice to say he was not impressed by it.
Re:No-GIL mode coming for Python by soulbadguy on Saturday July 29, 2023 @10:19AM (#36920574)
+1