They're back!
-
What is it meant to be?
-
What is it meant to be?
I put the prompt in the alt-text
-
I put the prompt in the alt-text
That's smart
-
So happy to be home again ^^
Welcome back, and I agree!
-
-
Tbh, the vast majority of performance issues don't come from the language but from the application itself.
While python is clearly slower than rust when it comes to pure native performance when doing exactly the same things exactly the same way and only within the language itself, the same isn't necessarily true in the bigger picture.
- Python uses C modules under the hood. A lot of the functions you call actually utilize C with C performance.
- Lower level languages allow the programmer to fail harder. While perfect low-level language code usually runs faster than perfect high-level language, the same cannot be necessarily said for bad or average code. For example, it's really hard to make an actual memory leak in Python. It's super easy to do so in languages without built-in memory management. The same applies in many other cases too. Python just gives you a lot of already-done tools that you only have to use, while other languages allow you to build the tools from scratch, which is easy to mess up.
- Most performance is lost due to using wrong algorithms or data structures. It's quite common when optimizing that you e.g. manage to eliminate a nested loop or something like that (e.g. loops hidden inside functions you call), and suddenly you improve performance by a factor of 1000. The same can't be done by switching languages, where even the most inefficient languages are only maybe 10x slower than the fastest languages.
So independent of the programming language, investing time in optimizing can improve the performance much more than using a faster language, and it's much easier to make perfectly optimized high-level language code than perfectly optimized low-level language code.
The main bottleneck is I/O anyway.
-
.ca mentioned les goooooooo!
-
But I was assured by entitled assholes that going down for a few days would be the absolute end of the community and it would never bounce back… I was assured it was extremely irresponsible bordering on criminal negligence for a hobby forum to not have at least three global points of presence each staffed with 24/7 on-call engineers.
-
-
Feelsbadman, I feel like we were just starting to grow too
-
Wooooo! We are so back!
-
these turtle thingies are cute, like the meme format.