upvote
Would you rather use CPUs to serve HTTP requests in Python or for RL envs for your post-training?

Pretty easy call, even if more CPUs were available.

reply
Developers have to spend more considerations on efficiency/being less wasteful?

So we have an upside at least.

It's hilarious how wasteful the modern software slob became.

Our current computers are _insanely_ powerful. Yet they struggle to run mundane software fluently or squeeze a couple of tabs into 16 GB(!) of RAM.

Years ago, I met someone who was involved with "Pixelflut" – a notoriously wasteful protocol to color individual pixels on a beamer screen.

https://pixelflut.org/

With a some optimizations, he managed to run FHD 30 fps using his simple laptop.

reply
There one more layer of irony in this: it is not yet proven that vibecoded AI slop is either performane efficient or space efficient by default.

[I always assumed that pixelflut is an intentionally wasteful protocol, as a kind of artistic statement.]

reply
I find AI generated code to be more efficient overall, mostly because it doesn’t have the readability requirements as human code. Also, traditionally “easy” human programming languages perform very poorly with LLMs.

I write a lot of PHP (I know). PHP is not only slow, it’s awful for LLMs because it’s so dynamic. It’s difficult to statically analyze. So, there’s basically no reason to program in PHP outside of “we already have code in PHP”. It performs worse, and it’s harder to write and verify.

But, AI generated PHP code gives a lot more weight to types. So, it ends up being easier to read and more performant than human written code typically.

This is still a step up from JS, which is even more dynamic and wishy-washy than PHP. But, the best languages for LLMs have strict, high-quality, and expansive tool chains. Like dotnet, Java, and rust. These languages are also much higher performance than “ergonomic” languages like PHP, ruby, python, JS. So, we will see more of them over the coming years I think.

reply