Fork

From Esolang
Jump to navigation Jump to search

Fork is brainfork, but with only the Y command. The Y command spawns a thread that executes the program itself. It also doesn't have a tape.

Examples

Fork bomb

YY

The program spawns 2 threads and each thread spawns 2 threads and so on until your computer explodes.

Infinite loop (sort of)

Y

ProcessFork

ProcessFork is a variation of Fork where the Y command spawns a process instead of a thread.

Examples

Fork bomb

YY

Batch equivalent:

%0|%0

It causes more damage to your computer than the Fork fork bomb program.