17 points poly2it 1 hour ago 5 comments
cube2222 32 minutes ago | parent
Sounds like you found an excellent way of structuring this problem to solve it with Claude (for those who don't click into the article - writing hand/claude-optimized Rust code for each query, checking its assembly, and trying to make their own optimizer generate something close to that same assembly), and the writeup is very interesting and readable too!
Kudos, looking forward to more blog posts like this one.
agumonkey 28 minutes ago | parent
code_martial 24 minutes ago | parent
agumonkey 21 minutes ago | parent
landhar 51 seconds ago | parent
What is described as the “normal” approach to optimizing code is really more the “naïve” approach. Any serious performance optimization work would follow the approach of defining first what’s the ceiling the hardware allows and benchmark against that. And that was already true before LLMs.
See for example: https://www.marginalia.nu/log/a_106_native_calls/