less_retarded_wiki/compiler_bomb.md

11 lines
390 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.
2024-02-26 11:38:00 +01:00
- [Rust](rust.md): every program :D
2024-02-13 21:57:06 +01:00
- ...