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

> PEP-703: Concurrent collection requires write barriers (or read barriers). The author is not aware of a way to add write barriers to CPython without substantially breaking the C-API.

Jesus. Imagine a language runtime being this hamstrung.



Well, CPython is 4 years older than Java. That's very old.

When it came out, this was in store:

https://img.redbull.com/images/w_3000/q_auto,f_auto/redbullc...

What was not in store were:

- multi-core CPU

- wide spread internet access

So people solve concurrency with a simple but efficient and sufficient method at the time: the GIL.

And nobody planned for the scientific and ML stack.




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

Search: