3 ms·
I love python. I really do. But when I see speedups like this from Rust, Nim, or other compiled languages, it makes me question my life choices.
by dundercoder 4y ago
I love python. I really do. But when I see speedups like this from Rust, Nim, or other compiled languages, it makes me question my life choices.
- sorokod 4y agoIndeed, when a linter for language is x100 better when written in another language ...
- shicholas 4y agoimo Python is going to eventually be nice-looking macros for Rust in the near future and you will barely have to change your code. What's not to like about that?!
- matsemann 4y agoI shudder when I look at the amount of pods / resources we use. Not only is it slow, but since the GIL makes python effectively single threaded, you end up instead with loads of separate processes / workers in many contexts, multiplying your need for RAM. And since you can't easily just spin up some background threads, you often end up with loads of different entrypoints also complicating the deployment. At a previous company using the jvm, we used 6x t3.small instances at AWS to handle a much bigger load than what we now have 100+ pods handling in python.