News for hackers. Stuff that matters.
Re:Why do we need Flask, Celery, and Redis? (2019) by throwaway894345 on Sunday April 19, 2020 @12:08PM (#22916753)
I do it when I have to do it. Most things are I/O bound, but sometimes things are compute bound. And since Python is about two orders of magnitude slower than Go (and Python also makes it much harder to optimize straight-line execution because it lacks semantics for expressing memory layout), you tend to need parallelism more often than you would in a fast language. Sometimes you can leverage pandas or write a small chunk in C, but very often those options aren’t available, and naively throwing c at the problem can make your performance worse.

There are no comments on this comment yet.