XPost3000@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 1 month agoRulelemmy.mlimagemessage-square35linkfedilinkarrow-up1362arrow-down17
arrow-up1355arrow-down1imageRulelemmy.mlXPost3000@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 1 month agomessage-square35linkfedilink
minus-squaretetris11@lemmy.mllinkfedilinkEnglisharrow-up63arrow-down1·edit-21 month 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 month agosounds likr there is some crazy lotr lore behind this
minus-squarekaty ✨@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4arrow-down1·edit-21 month agoso basically 10 print welcome to hell 20 goto 10 30 end
minus-squarechaos@beehaw.orglinkfedilinkEnglisharrow-up10·1 month 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.