r/cpp • • Apr 07 '26

Can your AI rewrite your code in assembly?

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

58 comments sorted by

View all comments

Show parent comment

-3

u/SoSKatan Apr 08 '26

Ok here’s the thing, modern compilers use hundreds of different optimizations.

It’s not just one or two, it’s hundreds.

Did you really need me to go make a list for you?

Can’t you just go Google it yourself?

I didn’t avoid your question, I’m just not your Google caddy. I’m willing to help you some and do part of the work, but you need to put in some effort yourself man.

Come back after you put in some legwork and then we can talk.

7

u/domiran game engine dev Apr 08 '26 edited Apr 09 '26

We're done. I'm not doing that. I already tried for a few minutes and couldn't find any specifics. I've already gone above and beyond by looking at all.

You want me to prove your claim? No, I'm not doing that. That's not how this works. You made the claim, you prove it.

-1

u/SoSKatan Apr 08 '26

I can’t say I’m surprised you aren’t going to put in the effort.

4

u/pjmlp Apr 08 '26

Neither have you been doing much this whole thread, /u//domiran is right.

0

u/domiran game engine dev Apr 08 '26

Thanks for the support. I thought I was taking crazy pills. 🫠

3

u/pjmlp Apr 08 '26

Like the ones using LLVM and GCC bitecode and GIMPLE passes?

You could also use Google to learn about compilers for those mainframes and micros I refered above, apparently not a skill.

Put some effort in learning about them, and then we can talk as well.