3 ms·
I'm a daily user of Python but the parallelization efforts really make me wonder. When things in Python are slow, its most likely something with native Python c
by sonium 10y ago
I'm a daily user of Python but the parallelization efforts really make me wonder.
When things in Python are slow, its most likely something with native Python code (in contrast to e.g. Numpy).
Wouldn't it then make more sense to rewrite this in native C code which gives a speedup of two orders of magnitude instead of getting into the mess of paralellization which scales, in the best case, with number of cores?
- Longhanks 10y agoC can be a very difficult beast to tame. Using parallel python interpreters may actually be easier for some than giving up on OOP, garbage collection, platform independence, maintenance of a whole other language stack and bugs you just won't encounter with Python. Not saying it's a bad idea, but it's a totally different approach.