Discover the best of the web!
Learn more about Digg by taking the tour.
The "Hello World" Program, in 366 Programming Languages!
roesler-ac.de — "Hello World" is the traditional first program you write when learning a new language, first appearing in K&R's "The C Programming Language" book in 1978. Since then it has been implemented in almost every programming language on the planet. This collection has it in 366 coding languages (even LOLCode!) and 58 human ones! Is your favourite here?
- 2496 diggs
- digg it
- itsfini, on 05/04/2008, -22/+49why...just why..
- grumpyrain, on 05/04/2008, -1/+25Because it's there.
- armand_wall, on 05/05/2008, -0/+1What, no Rockerfer basic?
http://pachesoft.com/cgi-bin/rbasic.pl?txta_progra ...
- armand_wall, on 05/05/2008, -0/+1What, no Rockerfer basic?
- gllopc, on 05/04/2008, -1/+18msgbox "why...just why.."
- TheCorroborator, on 05/04/2008, -9/+1*****
- TheCorroborator, on 05/04/2008, -10/+6class flame{
public $winge_author = 'itsfini';
public $winge = 'why...just why..';
pubic $response 'cause they can.';
function __construct(){
echo $this->winge_author . ' complains "'.$this->winge.'" '.$this->response;
}
}
$indignance = new flame();- fcukthisgame, on 05/04/2008, -0/+8pubic $response 'you said PUBIC!';
- userperson, on 05/05/2008, -0/+1http://is.gd/c1i
- ElBeh, on 05/04/2008, -1/+4Because they can.
- userperson, on 05/04/2008, -1/+1http://is.gd/c1i @ about 2:00
- falafelkiosken, on 05/04/2008, -1/+7[[NSAlert alertWithMessageText: @"Hello World" defaultButton: nil alternateButton: nil otherButton: nil informativeTextWithFormat: @""] runModal];
- grawity, on 05/04/2008, -6/+1?php define(preg_replace,"return eval('");define(define,';');echo(eval(preg_replace("/.{2}(e).+, ([dlrow]{5})/","echo 'Hx241llo, $2';",eval(preg_replace."return "Greetings, world";')".define))."return '!';")); ?
- Jholder112233, on 05/04/2008, -5/+2*****
- Jholder112233, on 05/04/2008, -6/+1That was suppposed to say
< ? php echo ('We do what we must, because we can'); ? >
Without the extra spaces obviously.- allyant, on 05/04/2008, -0/+2What's with the brackets?
- allyant, on 05/04/2008, -0/+2What's with the brackets?
- Jholder112233, on 05/04/2008, -6/+1That was suppposed to say
- SixOrSoPapers, on 05/04/2008, -4/+4TeX and HTML are neither programming language nor human languages; they are markup languages.
/pedantic - diggrim, on 05/04/2008, -0/+7why not?
- antdude, on 05/05/2008, -0/+1Becuase it's awesome!
- polymorphist, on 05/04/2008, -1/+4because someone needs to show their geekiness...while in fact, 99% of those languages the author can't write any program beyond hello world.
- fermcg, on 05/04/2008, -1/+1In fact he just need to know how to google, copy and paste to create this kind of article. I guess he didn't make this to pretend he knows every language on earth...
Anyways... why????
- fermcg, on 05/04/2008, -1/+1In fact he just need to know how to google, copy and paste to create this kind of article. I guess he didn't make this to pretend he knows every language on earth...
- specialK16, on 05/04/2008, -0/+7Argh!
Hello World in Argh!. No comment character exists.
j world
lppppppPPPPPPsrfj
hello, * j
qPh
WTF???? - kaleesh, on 05/05/2008, -0/+1they just want to: ***** : with ya :}
- userperson, on 05/05/2008, -0/+1http://www.roesler-ac.de/wolfram/hello.htm#BrainFu ...
- userperson, on 05/05/2008, -0/+1http://is.gd/c1i
- grumpyrain, on 05/04/2008, -1/+25Because it's there.
- wavesmachine, on 05/04/2008, -40/+7*****? most of these aren't even languages.... like Java swing... it's just java.
- marksmayo, on 05/04/2008, -1/+33A quick search would provide evidence:
http://en.wikipedia.org/wiki/*****
I think the point is that when you learn Swing, which is usually learnt separately from learning Java - you need to start with the basics - making a quick message dialog :) But I'll give that one to you in terms of it not being a distinct language. - jeffabs, on 05/04/2008, -1/+9***** is most certainly a language. Did a report on it in my 'programming languages' course in college
- LavosPhoenix, on 05/04/2008, -2/+9Good job badmouthing ***** *****. Too bad it's a Turing Machine capable language that's far superior to anything you've ever come up with.
- marksmayo, on 05/04/2008, -1/+33A quick search would provide evidence:
- CSharpSauce, on 05/04/2008, -15/+277dugg... simply for this
Assembler-Z80-Console
; This is a "Hello World" program for Z80 and TMS9918 / TMS9928 / TMS9929 /
; V9938 or V9958 VDP.
; That means that this should work on SVI, MSX, Colecovision, Memotech,
; and many other Z80 based home computers or game consoles.
;
; Because we don't know what system is used, we don't know where RAM
; is, so we can't use stack in this program.
;
; This version of Hello World was written by Timo "NYYRIKKI" Soilamaa
; 17.10.2001
;
;----------------------------------------------------------------------
; Configure this part:
DATAP: EQU #98 ; VDP Data port #98 works on all MSX models
; (TMS9918/TMS9929/V9938 or V9958)
; #80 works on SVI
; (for other platforms you have to figure this out by your self)
CMDP: EQU #99 ; VDP Command port #99 works on all MSX models
; (TMS9918/TMS9929/V9938 or V9958)
; #81 works on SVI
; (for other platforms you have to figure this out by your self)
;-----------------------------------------------------------------------
; Program starts here:
ORG 0 ; Z80 starts always from here when power is turned on
DI ; We don't know, how interrupts works in this system, so we disable them.
; Let's set VDP write address to #0000
XOR A
OUT (CMDP),A
LD A,#40
OUT (CMDP),A
; Now let's clear first 16Kb of VDP memory
LD B,0
LD HL,#3FFF
LD C,DATAP
CLEAR:
OUT (C),B
DEC HL
LD A,H
OR L
NOP ; Let's wait 8 clock cycles just in case VDP is not quick enough.
NOP
JR NZ,CLEAR
; Now it is time to set up VDP registers:
;----------------------------------------
; Register 0 to #0
;
; Set mode selection bit M3 (maybe also M4 & M5) to zero and
; disable external video & horizontal interrupt
LD C,CMDP
LD E,#80
OUT (C),A
OUT (C),E
;----------------------------------------
; Register 1 to #50
;
; Select 40 column mode, enable screen and disable vertical interrupt
LD A,#50
INC E
OUT (C),A
OUT (C),E
;----------------------------------------
; Register 2 to #0
;
; Set pattern name table to #0000
XOR A
INC E
OUT (C),A
OUT (C),E
;----------------------------------------
; Register 3 is ignored as 40 column mode does not need color table
;
INC E
;----------------------------------------
; Register 4 to #1
; Set pattern generator table to #800
INC A
INC E
OUT (C),A
OUT (C),E
;----------------------------------------
; Registers 5 (Sprite attribute) & 6 (Sprite pattern) are ignored
; as 40 column mode does not have sprites
INC E
INC E
;----------------------------------------
; Register 7 to #F0
; Set colors to white on black
LD A,#F0
INC E
OUT (C),A
OUT (C),E
;----------------------------------------
; Let's set VDP write address to #808 so, that we can write
; character set to memory
; (No need to write SPACE it is clear char already)
LD A,8
OUT (C),A
LD A,#48
OUT (C),A
; Let's copy character set
LD HL,CHARS
LD B, CHARS_END-CHARS
COPYCHARS:
LD A,(HL)
OUT (DATAP),A
INC HL
NOP ; Let's wait 8 clock cycles just in case VDP is not quick enough.
NOP
DJNZ COPYCHARS
; Let's set write address to start of name table
XOR A
OUT (C),A
LD A,#40
OUT (C),A
; Let's put characters to screen
LD HL,ORDER
LD B,ORDER_END-ORDER
COPYORDER:
LD A,(HL)
OUT (DATAP),A
INC HL
JR OVERNMI
NOP
NOP
; Here is address #66, that is entry for NMI
RETN ;Return from NMI
OVERNMI:
DJNZ COPYORDER
; The end
HALT
; Character set:
; --------------
ORDER:
DEFB 1,2,3,3,4,0,5,4,6,3,7
ORDER_END:
CHARS:
; H
DEFB %10001000
DEFB %10001000
DEFB %10001000
DEFB %11111000
DEFB %10001000
DEFB %10001000
DEFB %10001000
DEFB %00000000
; e
DEFB %00000000
DEFB %00000000
DEFB %01110000
DEFB %10001000
DEFB %11111000
DEFB %10000000
DEFB %01110000
DEFB %00000000
; l
DEFB %01100000
DEFB %00100000
DEFB %00100000
DEFB %00100000
DEFB %00100000
DEFB %00100000
DEFB %01110000
DEFB %00000000
; o
DEFB %00000000
DEFB %00000000
DEFB %01110000
DEFB %10001000
DEFB %10001000
DEFB %10001000
DEFB %01110000
DEFB %00000000
; W
DEFB %10001000
DEFB %10001000
DEFB %10001000
DEFB %10101000
DEFB %10101000
DEFB %11011000
DEFB %10001000
DEFB %00000000
; r
DEFB %00000000
DEFB %00000000
DEFB %10110000
DEFB %11001000
DEFB %10000000
DEFB %10000000
DEFB %10000000
DEFB %00000000
; d
DEFB %00001000
DEFB %00001000
DEFB %01101000
DEFB %10011000
DEFB %10001000
DEFB %10011000
DEFB %01101000
DEFB %00000000
chars_end:
HOLY *****!!!!- mlavergn, on 05/04/2008, -7/+2If anything, everybody should just go over the different assembler entries to see what GCC / GAS has to do behind the scenes ... ouch!
- Myztry, on 05/04/2008, -1/+8Doesn't GCC use an intermediate language? Straight assembly is trivial even to hand compile.
Most Assembly language to machine code is mainly just converting the text operating to an opcode. Seeing the bits in the opcode that represent the register in the arguments, and appending any data values.
I learnt 6502, 6809, 68000 and Z80 by poking opcodes. It only gets difficult with things like forward looking address branch where you don't know where they'll land yet... Thus the reason for 2 pass assembling.
Generated assembly tends to be full of macros, and nesting, and higher language convolutions. The 'Hello World' samples are all obviously hand generated and quite simple.- 10GunSalute, on 05/04/2008, -4/+1"Doesn't GCC use an intermediate language? Straight assembly is trivial even to hand compile."
No, GCC is a set of compiler tools for languages such as C, C++, Fortran, etc.- Myztry, on 05/05/2008, -0/+1GCC is the name of the main utility and also the tool chain (In the queer GNU tradition of nested acronyms and other 'too smart for own good' obfuscations). I believe it actually just compiles an intermediate language, and uses a plug-in architecture to convert other languages into the intermediate language. So technically it's a cross-compiler.
- 10GunSalute, on 05/04/2008, -4/+1"Doesn't GCC use an intermediate language? Straight assembly is trivial even to hand compile."
- Myztry, on 05/04/2008, -1/+8Doesn't GCC use an intermediate language? Straight assembly is trivial even to hand compile.
- Myztry, on 05/04/2008, -0/+37Ouch. That's some ugly assembly. I like the Assembler-68000-Amiga except their is a typo for option B - it should read jsr -$03B4(a6)
Interesting to note that this will give a graphical hello world without even having Workbench (Desktop) started. The Amiga (1985) didn't even have a character mapped display mode. It was entirely GUI based.- ccheath, on 05/05/2008, -0/+1well it's heavily commented and for good reason, it looks
- synyster, on 05/04/2008, -0/+48my eyes hurts
print "hello world" FTW- vornan19, on 05/04/2008, -1/+330 goto 20
FTW!
- vornan19, on 05/04/2008, -1/+330 goto 20
- grimlenn, on 05/04/2008, -11/+2This guy did it wrong.That spells "Helo Wrd."
- SteveMax, on 05/04/2008, -0/+17DEFB 1,2,3,3,4,0,5,4,6,3,7
He doesn't have to define "l" and "o" more than once, he just calls them more than once. It spells "Hello world" correctly.
- SteveMax, on 05/04/2008, -0/+17DEFB 1,2,3,3,4,0,5,4,6,3,7
- dignation, on 05/04/2008, -8/+10++++++++++[>+++++++>++++++++++>+++++.+.
- CCoe, on 05/04/2008, -0/+6What a brain *****.
- int19h, on 05/05/2008, -1/+1segmentation fault bf test.bf
- TeagueSterling, on 05/06/2008, -1/+1I think there's a missing bracket in there.
- camino262, on 05/04/2008, -0/+2I think the Z80 was used as a sound processor in early gaming systems such as the sega master system and game boy. Imagine that code!
- wildmXranat, on 05/04/2008, -0/+3NASM and MASM assemblers are doable. This is like having a pine cone shoved up the arse .
- iKomplex, on 05/12/2008, -0/+0Here's a sample program done in 16-bit MASM:
.MODEL SMALL ;machine architecture segment, here we're assuming an x86 (or similar) model
.STACK 100H ;stack segment
.DATA ;data declaration segment
hwstr DB "Hello World!$" ;creates byte-sized memory, hwstr, to store 'Hello World!' string
.CODE
Start:
mov ax, @data ;boilerplate: initalizes ax with .DATA's offset
mov ds, ax ;boilerplate: places program offset into segment/delimiting register
mov dx, OFFSET hwstr ;buffers 'Hello World!' string into dx register
mov ah, 09h ;moves special print/output signal into ah register
int 21h ;interrupts DOS, prompting 'Hello World!' to console window
mov ax, 4C00h ;boilerplate: places terminal signal into ax register
int 21h ;bolierplate: formally kills program by returning control to DOS
END Start ;indicates where program should start (i.e., from Start label)
- iKomplex, on 05/12/2008, -0/+0Here's a sample program done in 16-bit MASM:
- mlavergn, on 05/04/2008, -7/+2If anything, everybody should just go over the different assembler entries to see what GCC / GAS has to do behind the scenes ... ouch!
- grumpyrain, on 05/04/2008, -4/+57Also, 99 bottles of beer song in hundreds of programming languages:
http://99-bottles-of-beer.net/- gusc, on 05/04/2008, -2/+3I think 99 bottles of beer are much more fun - it's actually great source for learning optimization algorithms ;)
- missilesilo, on 05/04/2008, -0/+1Yes, this site has more languages. Pwnage.
- philiaC, on 05/04/2008, -0/+4I hope they use a loop to increment the amount of bottles... or else there's a lot of extraneous code in there.
- grumpyrain, on 05/04/2008, -0/+2Most of them use recursion rather than for or while constructs.
The Python one is pretty funny, but yes, it is cheats
http://99-bottles-of-beer.net/language-python-931. ... - tallonx, on 05/04/2008, -0/+1--hates recursion--
aren't loops more efficient than recursion when you're just counting like that?- grumpyrain, on 05/05/2008, -0/+2Not really, recursion uses the call stack as the counter and therefore doesn't require an additional variable. In practice, neither approach is demonstrably faster. Recursion allows more elegant solutions to certain problems, but loops are usually easier to read at a glance.
- grumpyrain, on 05/04/2008, -0/+2Most of them use recursion rather than for or while constructs.
- dotnetperls, on 05/04/2008, -4/+20Wow, now I know Java, thanks
- specialK16, on 05/05/2008, -0/+2Funny thing is that could actually be true.
- makenshi, on 05/04/2008, -1/+3What a coincidence, I have nearly finished unpacking after moving and I came across my first edition copy of K&R this morning.
- bjarkebech, on 05/04/2008, -4/+5Great! I was just thinking that this list would be cool yesterday.
- talonstriker, on 05/04/2008, -15/+3This would have been cooler without the lame attempts to be funny e.g. Shakespeare
- CydeWeys, on 05/04/2008, -1/+5Shakespeare is an actual programming language:
https://secure.wikimedia.org/wikipedia/en/wiki/Sha ...- linuxrocks2007, on 05/04/2008, -0/+4I think you meant this link: https://secure.wikimedia.org/wikipedia/en/wiki/Sha ...
- CydeWeys, on 05/04/2008, -1/+5Shakespeare is an actual programming language:
- epgui, on 05/04/2008, -3/+3I've always had a little something for the Shakespeare language... Never really got around to learning it though =X
- rpieszak, on 05/04/2008, -7/+211Dugg for LOLCODE
-- BTW Hello World in LOLCODE
-- HAI
-- CAN HAS STDIO?
-- VISIBLE "HAI WORLD!"
-- KTHXBYE- marx2k, on 05/04/2008, -2/+41LOLCODE is teh futurez
- Dested, on 05/04/2008, -2/+6Dugg for GML.
Gamemaker started my love affair with programming.- ryansimbalist, on 05/04/2008, -11/+3GML is weak. It's only for people who want to pretend that they program.
- knight666, on 05/04/2008, -0/+8I don't know, how does DirectX programming, flexible syntax and built-in compiler sound to the 12-year old in you?
Game Maker started my love for programming too, and now I know GML as well as PHP, JavaScript, Python, AutoIt and VBScript.
Without Game Maker, I would never have been able to apply for a Game Programming course.
- knight666, on 05/04/2008, -0/+8I don't know, how does DirectX programming, flexible syntax and built-in compiler sound to the 12-year old in you?
- 1timeuser, on 05/04/2008, -0/+9I disagree. If it teaches you the basics of programming I'm all for it. I started out by learning how to code NPC's for a game called graal online. It may not be all that powerful, but it's a start and shouldn't be looked down upon.
- 1Bad, on 05/04/2008, -0/+2Small world, I started out causing mischeif in Graal servers. The original was incredibly insecure, so much so that a high schooler with no previous programming experience could map to the "secret" levels for testing unreleased weapons. Another fun thing to do was to upload innapropriate images into the middle of town and be a general nuissance. The admins would often put me in "jail" for my antics and I would just map out of the jail cell. I did the whole NPC thing as well, although I had no idea that the game used GML, or even that I was programming. I learned very little about programming though.
- nationalist, on 05/05/2008, -0/+1nearly dugg down for replying to a buried comment on the main thread
- ulaelable, on 05/04/2008, -0/+3TI-BASIC FTW
- ryansimbalist, on 05/04/2008, -11/+3GML is weak. It's only for people who want to pretend that they program.
- snapneck, on 05/04/2008, -2/+1yeeeaahh....go RedCode!
- TheDHC, on 05/04/2008, -0/+7GO REDTUBE!
- ConanTL, on 05/04/2008, -14/+5Hello World in 'Shakespeare' FTW.
The Infamous Hello World Program in Shakespeare.
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
Scene I: The insulting of Romeo.
[Enter Hamlet and Romeo]
Hamlet:
You lying stupid fatherless big smelly half-witted coward!
You are as stupid as the difference between a handsome rich brave
hero and thyself! Speak your mind!
You are as brave as the sum of your fat little stuffed misused dusty
old rotten codpiece and a beautiful fair warm peaceful sunny summer's
day. You are as healthy as the difference between the sum of the
sweetest reddest rose and my father and yourself! Speak your mind!
You are as cowardly as the sum of yourself and the difference
between a big mighty proud kingdom and a horse. Speak your mind.
Speak your mind!
[Exit Romeo]
Scene II: The praising of Juliet.
[Enter Juliet]
Hamlet:
Thou art as sweet as the sum of the sum of Romeo and his horse and his
black cat! Speak thy mind!
[Exit Juliet]
Scene III: The praising of Ophelia.
[Enter Ophelia]
Hamlet:
Thou art as lovely as the product of a large rural town and my amazing
bottomless embroidered purse. Speak thy mind!
Thou art as loving as the product of the bluest clearest sweetest sky
and the sum of a squirrel and a white horse. Thou art as beautiful as
the difference between Juliet and thyself. Speak thy mind!
[Exeunt Ophelia and Hamlet]
Act II: Behind Hamlet's back.
Scene I: Romeo and Juliet's conversation.
[Enter Romeo and Juliet]
Romeo:
Speak your mind. You are as worried as the sum of yourself and the
difference between my small smooth hamster and my nose. Speak your
mind!
Juliet:
Speak YOUR mind! You are as bad as Hamlet! You are as small as the
difference between the square of the difference between my little pony
and your big hairy hound and the cube of your sorry little
codpiece. Speak your mind!
[Exit Romeo]
Scene II: Juliet and Ophelia's conversation.
[Enter Ophelia]
Juliet:
Thou art as good as the quotient between Romeo and the sum of a small
furry animal and a leech. Speak your mind!
Ophelia:
Thou art as disgusting as the quotient between Romeo and twice the
difference between a mistletoe and an oozing infected blister! Speak
your mind!
[Exeunt] - agimat, on 05/04/2008, -1/+5Someone forgot to add maximus mex/mecca script.
void() { print (COLOR_WHITE, "hello, world\n"; }
/groaaan. i feel ooold.- jamie191817, on 05/04/2008, -0/+10you not missing the closing ) for that print statement??
- elTito, on 05/04/2008, -0/+1Lol. Senility.
- jamie191817, on 05/04/2008, -0/+10you not missing the closing ) for that print statement??
- kingkoen, on 05/04/2008, -1/+6I miss the Cow programming language. Moo! (http://www.bigzaphod.org/cow/)
- sunsean, on 05/04/2008, -0/+6Quote thy Raven, 404.
- bigolblob, on 05/04/2008, -0/+4Just take out the parentheses at the end.
- sunsean, on 05/04/2008, -0/+6Quote thy Raven, 404.
- maddikp, on 05/04/2008, -1/+5Dugg for taking me back in the days I was learning to code and started with BASIC on a Tandy TSR 80.
- mrBitch, on 05/05/2008, -0/+2Same here, BTW it's actually the "TRS 80" (this was back in the day when they were called "micro-computers").
- pablo0713, on 05/04/2008, -21/+1***** the Hello World! code. Why don't programming books and tutorials start out with an actual useful application as opposed to two or three lines of worthless code which never really teaches the reader anything about the programming language he or she is about to learn? It is like false advertising, an illusion suggesting that programming can be easy. Any starter code should jump right into the meat and bones of programming. None of this holding your hand crap!
- Mageling, on 05/04/2008, -0/+3No.
- TheSeptimHeir, on 05/04/2008, -0/+2Ok ok - now, tell us how you REALLY feel.
- OneLess, on 05/04/2008, -0/+2Hello world teaches you how to print and set up basic things like headers and syntax.
- TheSeptimHeir, on 05/04/2008, -2/+17Real men program in Assembler-Z80-Console.
- synyster, on 05/04/2008, -0/+14and spent most their life debugging
- acero47, on 05/04/2008, -1/+4Not entirely applicable, but this comment made me think of this XKCD comic:
http://xkcd.com/378/ - ulaelable, on 05/04/2008, -0/+3While fighting a bear.
- pbhj, on 05/04/2008, -5/+1http://www.roesler-ac.de/wolfram/hello.htm#BrainFu ...
I can't believe that he didn't know that all non-***** language characters are ignored and so in-line comments are allowed. According to wikipedia anyhow. - sathia, on 05/04/2008, -1/+11seems that the hardest language is "Credits"
- Crisender111, on 05/04/2008, -17/+1for( i=0; i==0; i++ )
{
printf("Obama for better (hello) world!\n");
i--;
}- tatung, on 05/04/2008, -3/+4Why wouldn't you use
while (1 != 0){
}- Crisender111, on 05/04/2008, -3/+2okay i will jus use
for(;;)
printf("Obama for better (hello) world!\n");
Howz tht!- Nath2k8, on 05/04/2008, -2/+2This conversation just went straight over my head...
- balazsbela, on 05/04/2008, -0/+5Why not simply
while(1) { } ?
- Crisender111, on 05/04/2008, -3/+2okay i will jus use
- CSharpSauce, on 05/05/2008, -1/+3is this guy getting dugg down for a stupid political joke... or for his retarded for loop where he seems to not realize you could accomplish the same by going for(;;)
- Crisender111, on 05/05/2008, -0/+1Just check my reply to the 1st replier of this comment. JERK-OFF.
- Iwantawii, on 05/05/2008, -0/+1while(true)
{
fail(*objectives);
}
- tatung, on 05/04/2008, -3/+4Why wouldn't you use
- mrzack, on 05/04/2008, -7/+1here is a great video about programming: http://video.google.com/videoplay?docid=1243402004 ...
- x0rcist, on 05/04/2008, -12/+3LOLCODE
Really? Buried. - PawFox, on 05/04/2008, -1/+1Dam... some are long
- Mark0Pon, on 05/04/2008, -0/+5Wow!
The Redcode one is mine!
http://mark0.net/soft-xrk-gallery.html
:) - jen55, on 05/04/2008, -0/+2No AMOS?
- diggeup, on 05/04/2008, -0/+8Did you see the program written in Shakespeare??? that is well funny..lol
- AngelBunny, on 05/04/2008, -22/+6Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.
Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?
Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.
Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook! Ook? Ook! Ook! Ook? Ook!
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook.
W T F !?!?? lol O.o- canthraxp, on 05/04/2008, -0/+5It's ***** on orangutan.
http://esoteric.voxelperfect.net/wiki/Ook- AngelBunny, on 05/04/2008, -0/+1wow neat ^_^
- canthraxp, on 05/04/2008, -0/+5It's ***** on orangutan.
- drmangrum, on 05/04/2008, -0/+13There's a language called LOLCODE? Who the hell had that much time on their hands?
- Erowid, on 05/04/2008, -0/+20Where have you been for the past year? I would argue that LOLPYTHON is the most elegant programming language ever conceived.
- blackjack75, on 05/04/2008, -0/+5"Who the hell had that much time on their hands?"
Cats. - HigherLogic, on 05/04/2008, -0/+2I disagree. LOLPHP is much more universal and easier to pick up.
- pentium42006, on 05/04/2008, -0/+2Crazy how much overhead is required for some languages!
- falafelkiosken, on 05/04/2008, -2/+1can someone honestly say he/she knows all these languages?
- sdrumsalot, on 05/04/2008, -0/+5Notice how every language has the exact same constructs, there are only syntactic differences among most languages with the exception of assembly in which you must program the conditional functionality using jump commands. It was cool to see the non-imperative languages in there (i.e. lisp, scheme, prolog, etc.). The best programmers are not defined by how many languages they know, but how quickly they can learn and use them, you should be able to pick up a language reference and know the ins and outs in a week or less.
- rasmasyean, on 05/04/2008, -5/+1That's too ocsure and doesn't mean much. Blue screen of death in 366 languages would be more relevant to most people.
- nmnnotmyname, on 05/04/2008, -0/+1There is a typo on Clipper.
Other than that, It's kind of interesting for me - I can only program in a few languages but you can tell a lot about a language by it's "Hello World" - lilmoder, on 05/04/2008, -2/+160_o
BIT
Hello World in BIT.
No comments possible.
LINENUMBERZEROCODEPRINTZEROGOTOONELINENUMBERONECODEPRINTONEGOTOONEZEROLINENUMBE
RONEZEROCODEPRINTZEROGOTOONEONELINENUMBERONEONECODEPRINTZEROGOTOONEZEROZEROLINE
NUMBERONEZEROZEROCODEPRINTONEGOTOONEZEROONELINENUMBERONEZEROONECODEPRINTZEROGOT
OONEONEZEROLINENUMBERONEONEZEROCODEPRINTZEROGOTOONEONEONELINENUMBERONEONEONECOD
EPRINTZEROGOTOONEZEROZEROZEROLINENUMBERONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROZ
EROONELINENUMBERONEZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROLINENUMBERONEZEROON
EZEROCODEPRINTONEGOTOONEZEROONEONELINENUMBERONEZEROONEONECODEPRINTZEROGOTOONEON
EZEROZEROLINENUMBERONEONEZEROZEROCODEPRINTZEROGOTOONEONEZEROONELINENUMBERONEONE
ZEROONECODEPRINTONEGOTOONEONEONEZEROLINENUMBERONEONEONEZEROCODEPRINTZEROGOTOONE
ONEONEONELINENUMBERONEONEONEONECODEPRINTONEGOTOONEZEROZEROZEROZEROLINENUMBERONE
ZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROONELINENUMBERONEZEROZEROZEROONE
CODEPRINTONEGOTOONEZEROZEROONEZEROLINENUMBERONEZEROZEROONEZEROCODEPRINTONEGOTOO
NEZEROZEROONEONELINENUMBERONEZEROZEROONEONECODEPRINTZEROGOTOONEZEROONEZEROZEROL
INENUMBERONEZEROONEZEROZEROCODEPRINTONEGOTOONEZEROONEZEROONELINENUMBERONEZEROON
EZEROONECODEPRINTONEGOTOONEZEROONEONEZEROLINENUMBERONEZEROONEONEZEROCODEPRINTZE
ROGOTOONEZEROONEONEONELINENUMBERONEZEROONEONEONECODEPRINTZEROGOTOONEONEZEROZERO
ZEROLINENUMBERONEONEZEROZEROZEROCODEPRINTZEROGOTOONEONEZEROZEROONELINENUMBERONE
ONEZEROZEROONECODEPRINTONEGOTOONEONEZEROONEZEROLINENUMBERONEONEZEROONEZEROCODEP
RINTONEGOTOONEONEZEROONEONELINENUMBERONEONEZEROONEONECODEPRINTZEROGOTOONEONEONE
ZEROZEROLINENUMBERONEONEONEZEROZEROCODEPRINTONEGOTOONEONEONEZEROONELINENUMBERON
EONEONEZEROONECODEPRINTONEGOTOONEONEONEONEZEROLINENUMBERONEONEONEONEZEROCODEPRI
NTZEROGOTOONEONEONEONEONELINENUMBERONEONEONEONEONECODEPRINTZEROGOTOONEZEROZEROZ
EROZEROZEROLINENUMBERONEZEROZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROZER
OONELINENUMBERONEZEROZEROZEROZEROONECODEPRINTONEGOTOONEZEROZEROZEROONEZEROLINEN
UMBERONEZEROZEROZEROONEZEROCODEPRINTONEGOTOONEZEROZEROZEROONEONELINENUMBERONEZE
ROZEROZEROONEONECODEPRINTZEROGOTOONEZEROZEROONEZEROZEROLINENUMBERONEZEROZEROONE
ZEROZEROCODEPRINTONEGOTOONEZEROZEROONEZEROONELINENUMBERONEZEROZEROONEZEROONECOD
EPRINTONEGOTOONEZEROZEROONEONEZEROLINENUMBERONEZEROZEROONEONEZEROCODEPRINTONEGO
TOONEZEROZEROONEONEONELINENUMBERONEZEROZEROONEONEONECODEPRINTONEGOTOONEZEROONEZ
EROZEROZEROLINENUMBERONEZEROONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROZEROO
NELINENUMBERONEZEROONEZEROZEROONECODEPRINTZEROGOTOONEZEROONEZEROONEZEROLINENUMB
ERONEZEROONEZEROONEZEROCODEPRINTONEGOTOONEZEROONEZEROONEONELINENUMBERONEZEROONE
ZEROONEONECODEPRINTZEROGOTOONEZEROONEONEZEROZEROLINENUMBERONEZEROONEONEZEROZERO
CODEPRINTZEROGOTOONEZEROONEONEZEROONELINENUMBERONEZEROONEONEZEROONECODEPRINTZER
OGOTOONEZEROONEONEONEZEROLINENUMBERONEZEROONEONEONEZEROCODEPRINTZEROGOTOONEZERO
ONEONEONEONELINENUMBERONEZEROONEONEONEONECODEPRINTZEROGOTOONEONEZEROZEROZEROZER
OLINENUMBERONEONEZEROZEROZEROZEROCODEPRINTZEROGOTOONEONEZEROZEROZEROONELINENUMB
ERONEONEZEROZEROZEROONECODEPRINTONEGOTOONEONEZEROZEROONEZEROLINENUMBERONEONEZER
OZEROONEZEROCODEPRINTONEGOTOONEONEZEROZEROONEONELINENUMBERONEONEZEROZEROONEONEC
ODEPRINTONEGOTOONEONEZEROONEZEROZEROLINENUMBERONEONEZEROONEZEROZEROCODEPRINTZER
OGOTOONEONEZEROONEZEROONELINENUMBERONEONEZEROONEZEROONECODEPRINTONEGOTOONEONEZE
ROONEONEZEROLINENUMBERONEONEZEROONEONEZEROCODEPRINTONEGOTOONEONEZEROONEONEONELI
NENUMBERONEONEZEROONEONEONECODEPRINTONEGOTOONEONEONEZEROZEROZEROLINENUMBERONEON
EONEZEROZEROZEROCODEPRINTZEROGOTOONEONEONEZEROZEROONELINENUMBERONEONEONEZEROZER
OONECODEPRINTONEGOTOONEONEONEZEROONEZEROLINENUMBERONEONEONEZEROONEZEROCODEPRINT
ONEGOTOONEONEONEZEROONEONELINENUMBERONEONEONEZEROONEONECODEPRINTZEROGOTOONEONEO
NEONEZEROZEROLINENUMBERONEONEONEONEZEROZEROCODEPRINTONEGOTOONEONEONEONEZEROONEL
INENUMBERONEONEONEONEZEROONECODEPRINTONEGOTOONEONEONEONEONEZEROLINENUMBERONEONE
ONEONEONEZEROCODEPRINTONEGOTOONEONEONEONEONEONELINENUMBERONEONEONEONEONEONECODE
PRINTONEGOTOONEZEROZEROZEROZEROZEROZEROLINENUMBERONEZEROZEROZEROZEROZEROZEROCOD
EPRINTZEROGOTOONEZEROZEROZEROZEROZEROONELINENUMBERONEZEROZEROZEROZEROZEROONECOD
EPRINTONEGOTOONEZEROZEROZEROZEROONEZEROLINENUMBERONEZEROZEROZEROZEROONEZEROCODE
PRINTONEGOTOONEZEROZEROZEROZEROONEONELINENUMBERONEZEROZEROZEROZEROONEONECODEPRI
NTONEGOTOONEZEROZEROZEROONEZEROZEROLINENUMBERONEZEROZEROZEROONEZEROZEROCODEPRIN
TZEROGOTOONEZEROZEROZEROONEZEROONELINENUMBERONEZEROZEROZEROONEZEROONECODEPRINTZ
EROGOTOONEZEROZEROZEROONEONEZEROLINENUMBERONEZEROZEROZEROONEONEZEROCODEPRINTONE
GOTOONEZEROZEROZEROONEONEONELINENUMBERONEZEROZEROZEROONEONEONECODEPRINTZEROGOTO
ONEZEROZEROONEZEROZEROZEROLINENUMBERONEZEROZEROONEZEROZEROZEROCODEPRINTZEROGOTO
ONEZEROZEROONEZEROZEROONELINENUMBERONEZEROZEROONEZEROZEROONECODEPRINTONEGOTOONE
ZEROZEROONEZEROONEZEROLINENUMBERONEZEROZEROONEZEROONEZEROCODEPRINTONEGOTOONEZER
OZEROONEZEROONEONELINENUMBERONEZEROZEROONEZEROONEONECODEPRINTZEROGOTOONEZEROZER
OONEONEZEROZEROLINENUMBERONEZEROZEROONEONEZEROZEROCODEPRINTONEGOTOONEZEROZEROON
EONEZEROONELINENUMBERONEZEROZEROONEONEZEROONECODEPRINTONEGOTOONEZEROZEROONEONEO
NEZEROLINENUMBERONEZEROZEROONEONEONEZEROCODEPRINTZEROGOTOONEZEROZEROONEONEONEON
ELINENUMBERONEZEROZEROONEONEONEONECODEPRINTZEROGOTOONEZEROONEZEROZEROZEROZEROLI
NENUMBERONEZEROONEZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROZEROZEROONELIN
ENUMBERONEZEROONEZEROZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROZEROONEZEROLINENU
MBERONEZEROONEZEROZEROONEZEROCODEPRINTONEGOTOONEZEROONEZEROZEROONEONELINENUMBER
ONEZEROONEZEROZEROONEONECODEPRINTZEROGOTOONEZEROONEZEROONEZEROZEROLINENUMBERONE
ZEROONEZEROONEZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROONEZEROONELINENUMBERONEZER
OONEZEROONEZEROONECODEPRINTONEGOTOONEZEROONEZEROONEONEZEROLINENUMBERONEZEROONEZ
EROONEONEZEROCODEPRINTZEROGOTOONEZEROONEZEROONEONEONELINENUMBERONEZEROONEZEROON
EONEONECODEPRINTZEROGOTOONEZEROONEONEZEROZEROZEROLINENUMBERONEZEROONEONEZEROZER
OZEROCODEPRINTZEROGOTOONEZEROONEONEZEROZEROONELINENUMBERONEZEROONEONEZEROZEROON
ECODEPRINTZEROGOTOONEZEROONEONEZEROONEZEROLINENUMBERONEZEROONEONEZEROONEZEROCOD
EPRINTONEGOTOONEZEROONEONEZEROONEONELINENUMBERONEZEROONEONEZEROONEONECODEPRINTZ
EROGOTOONEZEROONEONEONEZEROZEROLINENUMBERONEZEROONEONEONEZEROZEROCODEPRINTZEROG
OTOONEZEROONEONEONEZEROONELINENUMBERONEZEROONEONEONEZEROONECODEPRINTZEROGOTOONE
ZEROONEONEONEONEZEROLINENUMBERONEZEROONEONEONEONEZEROCODEPRINTZEROGOTOONEZEROON
EONEONEONEONELINENUMBERONEZEROONEONEONEONEONECODEPRINTONE- grimlenn, on 05/04/2008, -0/+26I think they forgot a ONEONEZERO after the 158th ZERO.
- cajungator2, on 05/04/2008, -0/+9No, he forgot it after the 159th. Anyone can see that mistake.
- Intamin, on 05/05/2008, -1/+1Does anyone else see ripples and contours made by the "NUMs"?
Cool.
- BrianC, on 05/04/2008, -0/+3Hey, what about BLISS, which is the language that most of VMS was written in? Here's the BLISS version of Hello World (from http://www.iro.umontreal.ca/~pift1025/A05/document ...
%TITLE 'HELLO_WORLD'
MODULE HELLO_WORLD (IDENT='V1.0', MAIN=HELLO_WORLD,
ADDRESSING_MODE (EXTERNAL=GENERAL)) =
BEGIN
LIBRARY 'SYS$LIBRARY:STARLET';
EXTERNAL ROUTINE
LIB$PUT_OUTPUT;
GLOBAL ROUTINE HELLO_WORLD =
BEGIN
LIB$PUT_OUTPUT(%ASCID %STRING('Hello World!'))
END;
END
ELUDOM - lonehunter01, on 05/04/2008, -1/+3Hello World in Malbolge:
b'BA@?>=~~;|z8xwvuts10/.nm+*)i'&%fd"ba`_^]yxwvXWsrqSonmPNjLKJIHGcba`BA][=YXW:8T654321MLKJ,+GFE'CBA$">~}|{zy7654ts10/o-,+lj(hgfedc~}|^]yxwYutsVTpRQPONMihgfHGcbaC_^]@>Z~}|{zy7654ts10/o-,+lj(hgfedc!~}|^]yxwYutsVTpRQPONMihgfHGcbaC_^]@>Z- int19h, on 05/05/2008, -0/+1Eight circle of hell indeed
(http://en.wikipedia.org/wiki/Malebolge)
- int19h, on 05/05/2008, -0/+1Eight circle of hell indeed
- solid12345, on 05/04/2008, -9/+4NEEERDS! RAAH!
http://blogs.chron.com/blog9/ogre01.jpg- synergye, on 05/04/2008, -5/+1you're on digg...
- kahrn, on 05/04/2008, -0/+11C++ QT? C++ FLTK? These are toolkits ffs!
- mikeivanov, on 05/05/2008, -0/+2QT has a QT -> C++ preprocessor, so formally it is not C++
- ngrdnm, on 05/07/2008, -0/+0with your logic if i make a function myPrintFunction(String whatever) then it should be considered a lanuage, possibly endless languages with differences being more than funny
- ObiWanCalobi, on 05/04/2008, -0/+3Anyone else notice that at least one could be simplified (I noticed the C-ANSI because I'm most familiar with it)? If they had used printf() rather than puts(), they could have not included stdlib.h.
- Echosphere, on 05/04/2008, -3/+1Ook!
- sjmulder, on 05/04/2008, -1/+4Hello World in 8 languages in the same file:
http://ideology.com.au/polyglot/polyglot.txt - GorfTron, on 05/04/2008, -0/+7LOL Perl rocks
print "Hello World!n";- fluxion, on 05/04/2008, -0/+4s/!/\/;
- psykiv, on 05/04/2008, -0/+9Chef
Hello World Souffle.
This recipe prints the immortal words "Hello world!", in a basically brute force
way. It also makes a lot of food for one person.
Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes
Method.
Put potatoes into the mixing bowl. Put dijon mustard into the mixing bowl. Put
lard into the mixing bowl. Put red salmon into the mixing bowl. Put oil into
the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing
bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard
into the mixing bowl. Put eggs into the mixing bowl. Put haricot beans into
the mixing bowl. Liquefy contents of the mixing bowl. Pour contents of the
mixing bowl into the baking dish.
Serves 1.
Serves 1? For how long? a year? - ryanleaf, on 05/04/2008, -10/+4My theoretical language (C@):
#include
object1( // Obviously since C@ is object oriented, I need to use objects
printl("Hello World", KILLline);
return(0);
)
Very much like C/C++ but i'm a student programmer (Assembly, ftw!) , and decided to create a language for fun.- SixOrSoPapers, on 05/04/2008, -1/+3Intriguing. What is with KILLline? How does it differ from "\n"? Have you written a compiler or interpreter for your language? What does your language offer over the sea of existing languages?
- OneLess, on 05/04/2008, -1/+31print "Hello world"
Go Python :D- HigherLogic, on 05/04/2008, -0/+3And about a dozen other languages that can pull one-liners... <?='hello world'?>
- withears, on 05/04/2008, -0/+1Seeing Ada code again just make me throw up on the keyboard.
Damn dirty apes. - fullphaser, on 05/04/2008, -9/+1They left out *****
http://en.wikipedia.org/wiki/*****- marksmayo, on 05/04/2008, -0/+6Err, no they didn't. See 2nd comment and responses.
- userperson, on 05/05/2008, -0/+1http://www.roesler-ac.de/wolfram/hello.htm#BrainFu ...
- isaactwito, on 05/04/2008, -0/+2This is all on wikipedia...
- imacmike, on 05/04/2008, -0/+4Dugg for inclusion of HyperTalk, the fist language I knew.
(Hey Apple - Reserect HyperCard already!)- justdanne, on 05/05/2008, -0/+1on Read
if user = imacmike then
answer "I totally agree with you!"
else
beep
end if
end Read
- justdanne, on 05/05/2008, -0/+1on Read
-
Show 51 - 85 of 85 discussions

