ruffsl@programming.dev to Programmer Humor@programming.devEnglish · edit-29 个月前Every goto in the Linux kernel / Just another day on the linux-kernel mailing listyoutube.comexternal-linkmessage-square18linkfedilinkarrow-up168arrow-down10
arrow-up168arrow-down1external-linkEvery goto in the Linux kernel / Just another day on the linux-kernel mailing listyoutube.comruffsl@programming.dev to Programmer Humor@programming.devEnglish · edit-29 个月前message-square18linkfedilink
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up3·9 个月前In civilized languages tail recursion takes care of this for you. 😁
minus-squarebss03@infosec.publinkfedilinkEnglisharrow-up3·9 个月前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.
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.