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
3
u/domiran game engine dev Apr 08 '26
C#'s performance has nothing to do with the fact that it's compiled at runtime and more to do with its feature set and optimization capabilities of its compiler. C++ compilers have had a lot of work put into them over the years because performance was the language's primary feature.
One could argue the bytecode is a hindrance to the compiler but that's still another problem entirely.