4 ms·
Doesn't the compiler rewrite your code in assembly?
by Fred27 6mo ago
Doesn't the compiler rewrite your code in assembly?
- signa11 6mo agocommenting without reading the article, your being naughty again :o)
- Fred27 6mo agoI did read it. A compiler converts your code into assembly. They usually have varying levels of optimisation depending on what you're doing. The article boils down to "could AI be a good compiler" and I'd say that consistency and repeatability are far more important than a one-off optimisation of a particular section of code. If you've got to the point where a section of code is worth writing some hand-crafted assembly then it's probably worth your time to really understand what's happening with it. Having it "vibe compiled" for you would be a bad idea.