XPost3000@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 2 days agoRulelemmy.mlimagemessage-square35linkfedilinkarrow-up1349arrow-down17
arrow-up1342arrow-down1imageRulelemmy.mlXPost3000@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 2 days agomessage-square35linkfedilink
minus-squaretetris11@lemmy.mllinkfedilinkEnglisharrow-up62arrow-down1·edit-22 days agofunction tombombadil() { tombombadil | tombombadil & } tombombadil() Each time it calls itself, it forks a background copy too and sends Gandalf deeper into the abyss
minus-squarekaty ✨@lemmy.blahaj.zonecakelinkfedilinkEnglisharrow-up4arrow-down1·edit-22 days agoso basically 10 print welcome to hell 20 goto 10 30 end
minus-squarechaos@beehaw.orglinkfedilinkEnglisharrow-up9·1 day 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.
minus-squareriwo@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up7·2 days agosounds likr there is some crazy lotr lore behind this
function tombombadil() { tombombadil | tombombadil & } tombombadil()
Each time it calls itself, it forks a background copy too and sends Gandalf deeper into the abyss
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.
sounds likr there is some crazy lotr lore behind this