XPost3000@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 1 year agoRulelemmy.mlimagemessage-square33linkfedilinkarrow-up1364arrow-down17
arrow-up1357arrow-down1imageRulelemmy.mlXPost3000@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 1 year agomessage-square33linkfedilink
minus-squaretetris11@lemmy.mllinkfedilinkEnglisharrow-up63arrow-down1·1 year agofunction tombombadil() { tombombadil | tombombadil & } tombombadil() Each time it calls itself, it forks a background copy too and sends Gandalf deeper into the abyss
minus-squareriwo@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up7·1 year agosounds likr there is some crazy lotr lore behind this
minus-squarekaty ✨@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4arrow-down1·1 year agoso basically 10 print welcome to hell 20 goto 10 30 end
minus-squarechaos@beehaw.orglinkfedilinkEnglisharrow-up10·1 year agoIt’s worse, a single infinite loop will warm up the computer a bit, this program starts two copies of itself, each of which starts two copies of itself… unless you’ve set some limits on things the computer’s going to be locked up within seconds.
function tombombadil() { tombombadil | tombombadil & } tombombadil()Each time it calls itself, it forks a background copy too and sends Gandalf deeper into the abyss
sounds likr there is some crazy lotr lore behind this
so basically
10 print welcome to hell
20 goto 10
30 end
It’s worse, a single infinite loop will warm up the computer a bit, this program starts two copies of itself, each of which starts two copies of itself… unless you’ve set some limits on things the computer’s going to be locked up within seconds.