r/cpp • u/_bijan_ • 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
r/cpp • u/_bijan_ • Apr 07 '26
View all comments
Show parent comment
4
u/domiran game engine dev Apr 08 '26
I'm not aware of anything about C#'s JIT adversely affecting optimization techniques. Can you explain?
JIT is capable of optimizing for the hardware it's currently on, something, say, C++ can't do (one person may have only AVX2 and another may have AVX512) but as far as I know, C#'s JIT isn't missing anything an equivalent C++ compiler might need.