4 ms·
so is it a little syntax sugar on top of the multiprocess module to please ios developers? there's nothing new that i can see under the hood
by gcb0 11y ago
so is it a little syntax sugar on top of the multiprocess module to please ios developers?
there's nothing new that i can see under the hood
- keypusher 11y agono, asyncio is a completely different module and paradigm from multiprocessing. the new standard syntax uses asyncio, and none of it has anything to do with ios
- sonicrocketman 11y agoI mentioned iOS because Apple's Grand Central Dispatch API is something I wish Python had. Python's multitasking is so complicated while Apple's GCD is so elegant. It's sad really.
- Lofkin 11y agoHave you seen this: http://dask.pydata.org/en/latest/ http://dask.pydata.org/en/latest/
- Lofkin 11y agoYour example is trivially parallelized with some decorators from the dask library. Example here: http://dask.pydata.org/en/latest/imperative.html http://dask.pydata.org/en/latest/imperative.html
- sonicrocketman 11y agoI hadn't seen Dask before this. Thanks!
- Lofkin 11y agoSure! If you like it, can you please blog about it (and post on hn)? Needs exposure outside the python data community.