Can your AI rewrite your code in assembly?

(lemire.me)

16 points | by signa11 11 hours ago ago

6 comments

  • joshka 3 hours ago ago

    > 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.

  • fancythat 7 hours ago ago

    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?

  • Sophira 10 hours ago ago

    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.

    • signa11 9 hours ago ago

      which one ? just curious.

  • Fred27 5 hours ago ago

    Doesn't the compiler rewrite your code in assembly?

    • signa11 2 hours ago ago

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