288
votes
"Hello, World!"
Brainfuck, 78 bytes
Open-ended bounty: If anyone can improve this score, I will pass the bounty (+500) on to them.
@KSab has found a 76 72 byte solution!
...
243
votes
212
votes
Hello, World! (Every other character)
Python 3, 61 bytes
rant="partisn't"
print(("HHeelllloo,, WWoorrlldd!!"""[::2]))
Try it online!
Abusing the fact that print ...
160
votes
65
votes
"Hello, World!"
Piet, 84 codels
28x3, here shown with codel width 10.
Created with PietDev (zip), tested with npiet. The layout of the program is the following:
Yellow fill indicates codels where the path overlaps, ...
64
votes
62
votes
Hello, World! (Every other character)
Cardinal, 29 bytes
%
"
H
e
l
l
o
,
W
o
r
l
d
!
Try it online!
Removing every other character removes all the linefeeds, which still results in ...
55
votes
Rube Goldberg Hello World
Foo → gs2 → M → Jelly → Retina → Aeolbonn → Par → Actually → Sprects → sed → Universal Lambda → Lines → /// → m4: 19/13 ≈ 1.4615 points
"“GḋÞḊCøẉYỴ⁴ñ<ȯƥ»Ṿ¦
...
52
votes
Accepted
52
votes
Hello, World! (Every other character)
C, 125 bytes
xpxuxtxs( ) { }xuxs ( ) { } main( ) {puts ( "Hello, World!" ) ; } mxaxixn ( ) {xpxuxtxs ( " H e l l o , W o r l d ! " ) ; }
Try it online!
With ...
50
votes
Biggest Irreducible Hello World
Keg, \$3.3 \times 10^{8912898}\$ bytes
...÷⅍+ℤ,(|⅍+)ℤ,(|⅍+)ℤ,(|⅍+)ℤ,(|⅍+)ℤ,⅍+ℤ,⅍+ℤ,⅍+ℤ,(|⅍+)ℤ,(|⅍+)ℤ,(|⅍+)ℤ,(|⅍+)ℤ,⅍+ℤ,
Program as seen in the raw ...
48
votes
"Hello, World!"
Seed, 4154 4135 4117 4078 bytes
Explanation, quite long, along with the description of the generation algorithm on my home page (as per request in comments): link
Possibly smallest one can create in ...
43
votes
Biggest Irreducible Hello World
APL (Dyalog Unicode), \$ \approx (10 \uparrow)^{625} 10.024549 \gg 10 \uparrow \uparrow 626 \$ bytes
⎕UCS(13⌿*⌿2+|⊃⎕RL⊣⎕RL←⍪⍨1)⊤≢⍬⍬⍬...
The exact byte count is
$...
43
votes
"Hello, World!" in zero lines of code
Haskell, 36 35 bytes
{-{--}--}main=putStr"Hello, world!"
Try it online!
Test sloc
Since sloc is regex based it is a very good guess to think it cannot ...
42
votes
Build a twisted "Hello world!"
Python 2, 59 bytes
print " Hello, world!"[ 2::]
#rint "T w i s t e r !"[ ::2]
Twisted:
...
42
votes
print "Hello, World!"
Bash, 21 19 bytes
lp<<<Hello,\ World!
And there it is.
2 bytes saved thanks to Dennis!
41
votes
Accepted
Hell0 W0rld! scored by ASCII values
Lenguage, score 0
Well, this is quite boring and obvious, but it seems to achieve the perfect score (assuming I understand the challenge correctly). To fix this loophole, you should probably add the ...
40
votes
Accepted
Hello World in Multiple Languages
23 Befunges, 713 bytes
The only language I really know is Befunge, so instead of multiple languages, I've just gone with multiple implementations of Befunge. I believe this is still valid under PPCG ...
39
votes
"Hello, World!"
Java 5, 61 bytes
enum H{H;{System.out.print("Hello, World!");System.exit(0);}}
This is valid in both Java 5 and Java 6. This won't work in Java 4 or ...
38
votes
38
votes
37
votes
Goodbye Cruel World!
C, 43 bytes
main(){puts(puts("Goodbye Cruel World!"));}
Prints the string and then tries to use the return value as a pointer to another string to be printed, ...
36
votes
36
votes
Hello, World! (Every other character)
Actually, 2 bytes
HH
Explanation:
H, as you might expect, pushes Hello, World! to the ...
34
votes
"Hello, World!"
Java 8, 76 bytes
Thought I would try to beat Geobit's answer :)
interface A{static void main(String[]a){System.out.print("Hello, World!");}}
Try here!
34
votes
"Hello, World!"
Shakespeare Programming Language, 755 749 715 612 605 592 bytes
-34 bytes thanks to jimmy23013
-And a whole 107 bytes more! Wow!
...
34
votes
34
votes
Animate the text in your terminal
Vim 26 bytes
ihello world<ESC>qq~gsul@qq0@q
Explanation (no .gif yet):
First, we must enter the 'hello world' text. This is pretty straightforward. It's ...
33
votes
"Hello, World!" in zero lines of code
Java 6, 83 68 54 Bytes
The code :
/**/enum C{C;{System.out.print("Hello, World!");}}/**/
Although crashes immediately with error sent to stderr, prints ...
33
votes
"Hello, World!" in zero lines of code
Groovy, 28 bytes
/**/print"Hello, World!"/**/
Try it online!
Squirrel, 30 bytes
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hello-world × 89code-golf × 51
restricted-source × 19
code-challenge × 15
popularity-contest × 13
string × 10
source-layout × 9
kolmogorov-complexity × 6
cops-and-robbers × 5
obfuscation × 5
graphical-output × 4
quine × 4
polyglot × 4
printable-ascii × 4
ascii-art × 3
code-generation × 3
code-bowling × 3
interpreter × 2
file-system × 2
answer-chaining × 2
self-referential × 2
multiple-holes × 2
math × 1
tips × 1
random × 1