493 votes

Build a Compiler Bomb

C, (14 + 15) = 29 byte source, 17,179,875,837 (16 GB) byte executable Thanks to @viraptor for 6 bytes off. Thanks to @hvd for 2 bytes off and executable size x4. This defines the ...
224 votes

Build a Compiler Bomb

Python 3, 13 byte source, 9,057,900,463 byte (8.5GiB) .pyc-file (1<<19**8,)*2 Edit: Changed the code to the version above after I realized the rules say ...
218 votes

Build a Compiler Bomb

C#, about 1 min to compile, 28MB output binary: class X<A,B,C,D,E>{class Y:X<Y,Y,Y,Y,Y>{Y.Y.Y.Y.Y.Y.Y.Y.Y y;}} Adding more Y's will increase the size ...
142 votes

Build a Compiler Bomb

If an output of more than 4GB is achieved (perhaps if somebody finds a turing complete preprocessor), the competition will be for the smallest source which produces a file of at least that size (it's ...
  • 1,509
105 votes
Accepted

Build a Markdown bomb

Blockquotes, 137,469/256 = 536.99 6,908 characters, 511 new lines, 130,050 spaces Markdown sure handles nested block-quotes oddly. Each > character gets turned ...
  • 984
90 votes

Build a Compiler Bomb

C++, 250 + 26 = 276 bytes ...
  • 5,751
68 votes

Build a Compiler Bomb

Here's my C answer from 2005. Would produce a 16TB binary if you had 16TB RAM (you don't). ...
  • 3,418
67 votes

Build a Compiler Bomb

ASM, 61 bytes (29 bytes source, 32 bytes for flags), 4,294,975,320 bytes executable .globl main main: .zero 1<<32 Compile with ...
  • 751
63 votes

If a program terminates and there is no one to see it, does it halt?

JavaScript, 39 (function f(x){for(;x!=++x;)f(x+1)})(0) Explanation Since JavaScript does not precisely represent large integers, the loop ...
  • 7,672
63 votes

Build a Markdown bomb

MathJax, 529\$\,\$252\$\,\$640ish / 256 ≈ 2\$\,\$067\$\,\$393 A good old thousand-laughs-style code ...
47 votes

If a program terminates and there is no one to see it, does it halt?

Python (9) 9**9**1e9 This has more than 10**10000000 bits, so computing it should take us far past heat death. I checked that this takes more and more time for ...
  • 139k
43 votes

Golf a number bigger than TREE(3)

New Ruby, 135 bytes, >> Hψ(φ3(Ω+1))(9) where H is the Hardy hierarchy, ψ is an extended version of Madore's OCF (will explain below) and φ is the Veblen function. Try it online! ...
37 votes
Accepted

Make a slow error quine maker!

Bash, 9223372036854775810 Inspired by Doorknob's answer. a='"2>/dev/null;if(((i=$((i-1)))>0));then $(declare -p a);$a;else 1;fi #"' i=2**63 eval $a It ...
  • 36.2k
36 votes
Accepted

If a program terminates and there is no one to see it, does it halt?

CJam, 5 bytes 0{)}h How it works ...
  • 207k
35 votes

If a program terminates and there is no one to see it, does it halt?

Marbelous 68 66 bytes }0 --@2 @2/\=0MB }0@1\/ &0/\>0!! -- @1 00@0 --/\=0 \\@0&0 Marbelous is an 8 bit language with values only represented by marbles ...
  • 3,550
35 votes

If a program terminates and there is no one to see it, does it halt?

GolfScript (12 7 chars) 9,{\?}* This computes and prints 8^7^6^5^4^3^2 ~= 10^10^10^10^183230. To print it (never mind the computation) in 10^1000 years ~= 10^...
  • 42.8k
34 votes

Build a Compiler Bomb

Plain old C preprocessor: 214 bytes input, 5MB output Inspired by my real-world preprocessor fail here. ...
30 votes

Build a Compiler Bomb

Java, 450 + 22 = 472 bytes source, ~1GB class file B.java (golfed version, warning during compilation) ...
  • 2,882
27 votes

Golf a number bigger than TREE(3)

Haskell, 252 Bytes, TREE(3)+1 ...
  • 7,079
27 votes

Output two numbers (Cops' thread)

Zsh, 1 byte, score 124, provably uncrackable Programs output via exit code. / Outputs 126 ("permission denied"). Attempt This Online! [ Outputs 2 ("invalid argument"). Attempt This ...
  • 22.6k
26 votes
Accepted

Maximizing output from minimal input

gs2, 412 + 5.37 * 10902 + 1010903.1 bytes f pushes 1\n2\nFizz\n4\nBuzz\n...\nFizzBuzz as a ...
  • 66.2k
26 votes

Build a Compiler Bomb

C, 26 byte source, 2,139,103,367 byte output, valid program const main[255<<21]={195}; Compiled using: ...
  • 543
26 votes

Build a Markdown bomb

Shorthand links: 68,960 / 256 = 269.375 ASCII only: 10,114 / 256 = 39.508 ...
  • 361
23 votes

Create the slowest growing function you can in under 100 bytes

Brachylog, 100 bytes llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll Try it online! This is probably ...
  • 11.8k
22 votes

Prolific Perfect Pangram Programs Pertaining to Printable ASCII

Perl, 70*18446744073709551615*10^987654320 say q{!"#%&'+,-./:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\]^_`bcdfghijklmnoprtuvwz|}x(1e987654320*~$[) Output: <...
  • 9,165
21 votes

If a program terminates and there is no one to see it, does it halt?

Perl, 66 58 characters sub A{($m,$n)=@_;$m?A($m-1,$n?A($m,$n-1):1):$n+1;}A(9,9); The above is an implementation of the Ackermann–Péter function. I have no idea ...
  • 2,719
21 votes

Build a Compiler Bomb

Boo, 71 bytes. Compile time: 9 minutes. 134,222,236 byte executable macro R(e as int): for i in range(2**e):yield R.Body x = 0 R 25:++x Uses a macro ...
21 votes

Largest SKI output in less than 200 combinators

44 combinators, score: \$\approx f_{\omega+1}(3\uparrow\uparrow\uparrow\uparrow3)\$ ...
  • 66.1k
20 votes

If a program terminates and there is no one to see it, does it halt?

MATLAB, 58 52 characters We need at least one finite-precision arithmetic solution, hence: y=ones(1,999);while y*y',y=mod(y+1,primes(7910));end x=ones(1,999);y=...
  • 3,691
19 votes

Largest number in ten bytes of code

HTML, 9999999999 9999999999 .. nailed it.

Only top scored, non community-wiki answers of a minimum length are eligible