ruffsl to Programmer HumorEnglish · 2 months agoEvery goto in the Linux kernel / Just another day on the linux-kernel mailing listyoutube.comexternal-linkmessage-square19linkfedilinkarrow-up182arrow-down11cross-posted to: linux
arrow-up181arrow-down1external-linkEvery goto in the Linux kernel / Just another day on the linux-kernel mailing listyoutube.comruffsl to Programmer HumorEnglish · 2 months agomessage-square19linkfedilinkcross-posted to: linux
minus-squarebitcrafterlinkfedilinkarrow-up8·2 months agoIn civilized languages tail recursion takes care of this for you. 😁
minus-squarebss03@infosec.publinkfedilinkEnglisharrow-up5·2 months agogcc can do tail-call optimization in C, and sometimes in C++. It doesn’t even have to be a recursive call, tho I do think it might depends on the calling convention.
In civilized languages tail recursion takes care of this for you. 😁
gcc can do tail-call optimization in C, and sometimes in C++. It doesn’t even have to be a recursive call, tho I do think it might depends on the calling convention.
Oh, cool! I did not know that.