News for hackers. Stuff that matters.
Re:Ask HN: What do you want to see in Python? by zbyte64 on Tuesday February 20, 2018 @02:32PM (#16423349)
Real threads don't scale outside a single machine easily and it's adding allot of hazards that should be abstracted away. We don't want a dataset interface that makes a developer worry about race conditions. The pythonic way is to use one of those "contortions" because they are actually useful production-grade abstractions that let you scale beyond a single machine. Dask ( https://dask.pydata.org/en/latest/ ) is superior to threads for handling large datasets IMHO.

And if you're wanting something primitive then use cooperative threads like gevent, asyncio, or twisted.

There are no comments on this comment yet.