alt.hn

4/20/2026 at 4:58:55 AM

Can your AI rewrite your code in assembly?

https://lemire.me/blog/2026/04/05/can-your-ai-rewrite-your-code-in-assembly/

by signa11

4/20/2026 at 12:28:39 PM

> An open question is whether the AIs could find optimizations that are not possible if we use a higher-level language like C or C++. It is an intriguing question that I will seek to answer later. For the time being, the AIs can beat my C++ compiler!

Go throw yourself at Stockfish or another chess engine for this. They tend to have good test harness that can give you an idea of whether the speedups are worth the effort.

by joshka

4/20/2026 at 8:59:31 AM

I had a similar thinking that this should be one of the most important USP for LLMs in coding. Does anyone here has more insights or experience in using LLM to cut through years of abstractions and just rewrite code in asm or any other low-level language?

by fancythat

4/20/2026 at 5:53:35 AM

Sadly, I can't read this page on my non-mainstream browser as the server returns a 403 Forbidden error.

I get the need to protect yourself from AI bots, but banning all but mainstream browsers from viewing your content isn't the way.

by Sophira

4/20/2026 at 6:18:46 AM

which one ? just curious.

by signa11

4/20/2026 at 10:34:43 AM

Doesn't the compiler rewrite your code in assembly?

by Fred27

4/20/2026 at 1:40:54 PM

commenting without reading the article, your being naughty again :o)

by signa11