cm0002@lemmy.zip to Programmer Humor@programming.dev · 17 hours agoMore code = more betterlemmy.zipimagemessage-square53fedilinkarrow-up1447arrow-down19
arrow-up1438arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 17 hours agomessage-square53fedilink
minus-squareDumhuvud@programming.devlinkfedilinkEnglisharrow-up17arrow-down1·edit-216 hours 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·14 hours 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.