Share your repls and programming experiences

← Back to all posts
LONGEST CODE ON EARTH
SkyyCivil (119)

Make the longest code you possibly can
BETA

-GOOD LUCK!

Commentshotnewtop
pedroguscos73 (0)

just go on c, put while(1) and let it be :v

SkyyCivil (119)

Can we get some more upvotes

etian (32)

lol i broke it
How many half cooked dogs do you have?
40000000000000000000000000
dogdied

jwangtcsyl (4)

Well, if you want to make it long it will take forever to let the computer type

mwilki7 (1078)
F1::
WinActivate, Notepad
SendRaw F2::
SendRaw Send a
Send {enter}
while (true)
{
    Send ^a
    Send ^c
    Send ^v
}

Now you have code that's is indefinitely copied at an exponential rate of 2^n !!

Zavexeon (1041)

This writes an "infinitely" long file of code.

var fs = require('fs'); 

var fileStream = fs.createWriteStream('infiniteJS.js');
let x = 0;

stream.once('open', function(fd) {
    while (true) {
        stream.write(`console.log('Line number ${x} of code.')`);
        x++;
    }
});
SkyyCivil (119)

@Zavexeon
what format
C, C++, java, etc

SkyyCivil (119)

@SkyyCivil
lol no. im not included
####This is haw we do it

SkyyCivil (119)

@Zavexeon
bruh
it not work that well tho

Zavexeon (1041)

@SkyyCivil Well of course it doesn't work well, it's an infinite loop. Performance goes out the window without any sort of delay in the loop.

SkyyCivil (119)

Guys this is the beta version I accidentally put the other one into the ask section.