less_retarded_wiki/compiler_bomb.md

10 lines
354 B
Markdown
Raw Normal View History

2024-02-13 21:57:06 +01:00
# Compiler Bomb
TODO
{ Found here: https://codegolf.stackexchange.com/questions/69189/build-a-compiler-bomb. ~drummyfish }
Compiler bombs in various languages:
- [C](c.md): `main[-1u]={1};`, creates 16 GB executable, works by defining a huge array an initializes its first element so the whole array will be explicitly stored in the executable.
- ...