Software engineer and collector of expensive hobbies.

I was /u/TortoiseWrath but then reddit imploded.

  • 0 Posts
  • 4 Comments
Joined 1Y ago
cake
Cake day: Jun 15, 2023

help-circle
rss

Oh shit does lemmy not have response caching? Yeah, that’s gonna be an issue pretty soon.


hh3tf.golden.exe is 1536 bytes, compiled from C, and comes with a comma and exclamation point:

I’m actually surprised it’s that large, but Windows gonna Windows.



Not relevant to lemmy (yet), but this does break down a bit at very large scales. (Source: am infra eng at YouTube.)

System architecture (particularly storage) is certainly by far the largest contributor to web performance, but the language of choice and its execution environment can matter. It’s not so important when it’s the difference between using 51% and 50% of some server’s CPU or serving requests in 101 vs 100 ms, but when it’s the difference between running 5100 and 5000 servers or blocking threads for 101 vs 100 CPU-hours per second, you’ll feel it.

Languages also build up cultures and ecosystems surrounding them that can lend themselves to certain architectural decisions that might not be beneficial. I think one of the major reasons they migrated the YouTube backend from Python to C++ isn’t really anything to do with the core languages themselves, but the fact that existing C++ libraries tend to be way more optimized than their Python equivalents, so we wouldn’t have to invest as much in developing more efficient libraries.