• tetris11@lemmy.ml
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    1
    ·
    edit-2
    2 days ago
    function tombombadil() {
       tombombadil | tombombadil & 
    }
    tombombadil()
    

    Each time it calls itself, it forks a background copy too and sends Gandalf deeper into the abyss

      • chaos@beehaw.org
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        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.