Share your repls and programming experiences

← Back to all posts
Crash your computer
PDanielY (425)

Ever wanted to crash chrome or whatever browser you use? Well, here is a chance. Running this repo on will probably crash your browser and running it on your computer (by downloading it on your computer) will probably crash your computer. Make sure to upvote this post.

BhoomTansirimas (5)

i = 1
while True:
i += 1

Purple01Flame (13)

...just use
while True:
| print(i, 'done')

PDanielY (425)

@Purple01Flame yes i know. And you forgot to upvote

Purple01Flame (13)

@PDanielY I did upvote lol. After I restarted my computer.

FlamingNar10 (1)

This will probably not crash anything if you don't have a PC from the 1700s. Most CPU's nowadays have more than 1 core with at least 2 threads which makes it very unlikely to even slow your PC or browser down let alone crash it. Unless you have something intensive linked to an infinite loop (maybe simulating raytracing in JS without the use of a compute shader or something) the loop most likely will not slow down the CPU at all.

carxspeed (1)

i got to a million,then i got bored because it didnt crash my chromebook

MrEconomical (987)

great program! amazing job!

PowerCoder (104)

Doesn't crash your computer because our computer's are just to dang good.
But still, good job (: .

UncleSamIs234 (0)

It dident work on my cromebook but still nice job!!!

avast420 (0)

Traceback (most recent call last):
File "C:\Users\avast\Downloads\", line 1, in <module>
import again
File "C:\Users\avast\Downloads\", line 1, in <module>
OverflowError: range() result has too many items


PDanielY (425)

@avast420 Lmao. Didn't know it did that

TimeTraveler (0)

Hit something something something with many numbers, got bored and left because I had work to do, my 10 year old laptop somehow survived.

Intellorg (1)

Well done. I did this to my school computer and my teacher got so mad.

Nettakrim (28)

0/10 didnt crash my gaming pc

niorg2606 (453)

Nine, Nine, Nine, Nine, oh, and did I mention nine?

me002 (5)

i = 0
while True:
i += 1
print(iii**i, "COMPLETED")

hg0428 (44)

It did not crash my browser (safari).

Me54321 (5)

To have this program not crash your computer,you must have a fast computer or browser

CodeABC123 (9)

My computer didn’t crash! Yay!

AdCharity (616)

I don't understand why repl doesn't protect against near infinite loops :/

DerpDerp4 (0)

My 16 gigs are not ready for 30 of these running at once

usfun (0)

Oh I like doing that

Vandesm14 (1636)

Pretty cool. You can easily use a while true though.

Thehackermans (0)

looks like two rtx 2080 ti comes in handy

theohalpern (6)

I got to 12481643 done, then I went to bed

PDanielY (425)

@theohalpern wow. You forgot to upvote.

theohalpern (6)

I love upvoting projects that don't work @PDanielY

MrEconomical (987)

also just use while true yes

PDanielY (425)

@MrEconomical yes i know. And you forgot to upvote

BhoomTansirimas (5)

I'm on a Macbook Pro, so I think I survived...? I'll keep running it and see what happens.

BhoomTansirimas (5)

@PDanielY Yes I did. I would never have survived on my old computer, a Macbook Air. Very old, and slow. Would have killed the whole computer.

BhoomTansirimas (5)

@PDanielY Hey just noticed you changed the 1000000 to 999999. Good catch!

PureAspiration (0)

My computer actually survived

PDanielY (425)

@PureAspiration good job and you forgot to upvote

JohnStarrs (23)

that number has 183430 0s in it

PDanielY (425)

@JohnStarrs DId you count it or used a tool? And make sure to upvote

JohnStarrs (23)

@PDanielY i used a tool i did a = that number print(len(a))