Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@ilikeglue if you look closely this is a list comprehension, so list is populated.
A = range(10000000000) won't crash because it returns a generator -
@Root That'll just recurse, not crash. Fork bomb is in fact shorter and does crash there
-
Root825536y@Proximyst It'll still crash (the Ruby interpreter at least) due to a call stack overflow.
Bash fork bomb is actually the same length: 11 chars; definitely more effective, however ~
Edit: fork bomb is 12 chars minimum, so it's longer 😋 -
@Root Damn, you got me there, but I at least only know how Crystal works in that :p
Related Rants
TIL a new way to crash a computer.
Open a python shell
>>> [i for i in range(10000000000)]
rant
python
crash