I was seen multiple shortest "Hello World!" program, but this is the longest program.

The Rules

  • Each submission must be a full program.
  • This must be non-interpreted language (for example, JavaScript, Python, HTML, etc.)
  • Target OS must be Windows, Mac, Linux or MS-DOS.

The challenge

  • Writing a longest Hello World program.
  • 1
    \$\begingroup\$ Do you mean a interpreted language? All languages you list are interpreted \$\endgroup\$
    – mousetail
    Oct 27 at 14:45
  • 5
    \$\begingroup\$ Possible duplicate of Biggest Irreducible Hello World. \$\endgroup\$
    – Dingus
    Oct 27 at 14:53
  • \$\begingroup\$ @Dingus No, it contains the Python, JavaScript, which is listed as interpreted. \$\endgroup\$ Oct 27 at 14:56
  • 4
    \$\begingroup\$ Welcome to Code Golf! I'd recommend using the sandbox for future challenges; this one has a lot of issues. For example, what keeps me from adding a comment or a string literal or a variable name or whitespace that takes up terabytes of space? It's trivially possible to get an arbitrarily large score right now. Also, restricted-time is about runtime, not a time limit for submissions. \$\endgroup\$ Oct 27 at 15:15
  • 3
    \$\begingroup\$ You listed Python and JavaScript as example languages but then tagged it c. Furthermore as already mentioned JavaScript is an interpreted language. What's the intention here? Note also that as per the tag description, "challenges that require the answers to be in a specific language are generally discouraged." \$\endgroup\$
    – Bbrk24
    Oct 27 at 15:39

1 Answer 1


C (gcc) (little-endian), 9,624,671,272,932,611,623 bytes

main(){char x[14];long i,j;/* i++; repeated 2406167339672739884 times */ /* j++; repeated 478560413000 times */memcpy(x,&j,8);memcpy(x+5,&i,8);puts(x);}

Try an equivalent version online!

For some reason I can't post the full program, so it has been abbreviated in the comments.

  • \$\begingroup\$ Welcome to Code Golf! \$\endgroup\$ Oct 27 at 15:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.