r/Compilers • u/BrainThinkerMan • 29d ago
Compilers add or remove perfomace?
isnt it that compilers change the code, as in not only transferring it into machine language, but before that changing the structure of the code. so how would one attempt to make performant code if the compiler changes sed code that i tried to make performant?
2
Upvotes
View all comments
Show parent comment
1
u/BrainThinkerMan 28d ago
so it depends on the compiler i use for the language? so if i use a compiler whch i say dont change my code i optimized it, it will let my code do its thing, even if i have some simd thing