3 comments

  • arch_rust 9 hours ago ago

    Surprised he didn't use https://github.com/gungraun/gungraun to easily see the instruction count.

  • Sytten 16 hours ago ago

    I wish the blog showed some code so we could learn what optimizations the AI did. At some point there is also a tradeoff between speed/memory and proper code abstractions.

    • sgarland 14 hours ago ago

      It did, near the end. byteseek [0].

      As to tradeoffs, IMO it depends on your goals. It seems like the goal here was performance at any cost, so potentially inscrutable code is probably acceptable to the author.

      0: https://github.com/minimaxir/byteseek