cm0002@lemmy.zip to Programmer Humor@programming.dev · 3 days agoMore code = more betterlemmy.zipimagemessage-square92linkfedilinkarrow-up1643arrow-down115
arrow-up1628arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 3 days agomessage-square92linkfedilink
minus-squareDumhuvud@programming.devlinkfedilinkEnglisharrow-up18arrow-down1·3 days agoYou jest, but you aren’t wrong. At least if we are talking about C, C++ or Rust. https://godbolt.org/z/oPPfdfcf5 .NET compiler is weak when it comes to optimizing your code; I assume Go’s is as bad.
minus-squareYggstyle@lemmy.worldlinkfedilinkarrow-up4·3 days agoTechnically yes… But I think he was more making the excuse for the gore “from the goresmith’s perspective.” And I’m not sure if the compiler in any language would change a random check function… The others are a possibility.
You jest, but you aren’t wrong. At least if we are talking about C, C++ or Rust. https://godbolt.org/z/oPPfdfcf5
.NET compiler is weak when it comes to optimizing your code; I assume Go’s is as bad.
Technically yes… But I think he was more making the excuse for the gore “from the goresmith’s perspective.”
And I’m not sure if the compiler in any language would change a random check function… The others are a possibility.