View previously featured displays >>

 

Hello World!
display created by
geoff cox
A 'Hello World' program is usually the first computer program that people use when learning a programming language. It simply prints 'Hello World!' on a display device and is typically one of the simplest programs possible in any computer language. 'The Hello World Collection' compiled by Wolfram Roesler (with help from many people around the world) includes 421 Hello World programs in many more-or-less well known programming languages, plus 63 human languages (http://roesler-ac.de/wolfram/hello.htm) [in March 2009]. The display aims to highlight how the combination of human and machine languages demonstrate a multilingual machinic 'confusion of tongues'.
display tagged with
hello-world
Comments
Hello World! (Unix-Shell) +
# Hello World for the Unix shells (sh, ksh, csh, bash, ...) echo 'Hello World!'...
Hello World! (Ruby) +
# Hello World in Ruby puts "Hello World!"...
Hello World! (Python) +
# Hello World in Python print "Hello World"...
Hello World! (perl) +
# Hello world in perl print "Hello World!\n";...
Hello World! (PHP) +
<?php // Hello World in PHP echo 'Hello World!'; ?>...
Hello World! (Processing) +
// Hello world in Processing println( "Hello world!" );...
Hello World! (Pascal) +
{Hello World in Pascal} program HelloWorld(output); begin WriteLn('Hello World!'); end. ...
Hello World! (Lisp) +
;;; Hello World in Common Lisp (defun helloworld () (print "Hello World!") )...
Hello World! (C++) +
// Hello World in C++ (pre-ISO) #include <iostream.h> main() { cout << "Hello World!" << endl; return 0; }...
Hello World! (Java) +
// Hello World in Java class HelloWorld { static public void main( String args[] ) { System.out.println( "Hello World!" ); } } ...
Hello World! (Haskell) +
-- Hello World in Haskell main = putStrLn "Hello World"...
Hello World! (Fortran) +
C Hello World in Fortran PROGRAM HELLO WRITE (*,100) STOP 100 FORMAT (' Hello World! ' /) END...
Hello World! (BASIC) +
10 REM Hello World in BASIC 20 PRINT "Hello World!"...
Hello World! (awk) +
# Hello World in awk BEGIN { print "Hello World!" exit }...
Hello World! (Assembler-Linux) +
;; Hello World for the nasm Assembler (Linux) SECTION .data msg db "Hello, world!",0xa ; len equ $ - msg SECTION .text global main main: mov eax,4 ; write system call mov ebx,1 ; file (stdou) mov ecx,msg ...