cm0002@lemmy.zip to Programmer Humor@programming.dev · 8 days agoMore code = more betterlemmy.zipimagemessage-square90fedilinkarrow-up1609arrow-down113
arrow-up1596arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 8 days agomessage-square90fedilink
minus-squareDumhuvud@programming.devlinkfedilinkEnglisharrow-up17arrow-down1·edit-28 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·8 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.