0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agoSupreme leader madsh.itjust.worksimagemessage-square33fedilinkarrow-up111arrow-down12
arrow-up19arrow-down1imageSupreme leader madsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square33fedilink
minus-squarejabjoe@feddit.uklinkfedilinkEnglisharrow-up0·7 months agoThere is nothing you can do in C++ or C, that can’t be done in the other. It’s the kind of the point of those languages.
minus-squarerefalo@programming.devlinkfedilinkarrow-up1·7 months agoTechnically you’re right, but I don’t think that changes what I said about optimization. There are still cases where equivalent C++ code can be faster than the C version merely due to different optimizations used.
There is nothing you can do in C++ or C, that can’t be done in the other. It’s the kind of the point of those languages.
Technically you’re right, but I don’t think that changes what I said about optimization. There are still cases where equivalent C++ code can be faster than the C version merely due to different optimizations used.