"Hello World "program in various avatars of programmming languages

Definition

We’ve all grown up with the "Hello World "program in various avatars of programmming languages… well how about trying to showcase the Hello world programs in as many languages possible …
This may give a comarison to the various languages as well give ansight for ppl who want to explore languages that they are keen to find out about .

for eg:
Hello World in C

ABAP4  Actionscript-Flash5  Actionscript-FlashMX  Ada  Algol-60  Algol-68  Amiga-E  APL  AppleScript  ASP-JavaScript  ASP-VBS  Assembler-6502  Assembler-68000-Amiga  Assembler-68000-AtariST  Assembler-68008  Assembler-IBM-370  Assembler-Intel  Assembler-PDP11  Assembler-Z80-Console  Assembler-ZX81  AviSynth  awk  Axel  
B  BAL  Basic  BCPL  Beta  BrainFxxx  BS2000  
C++  C++-ISO  C++-MFC  C++-Qt  C-Ansi  C-Curses  C-GEM  C-Intuition  C-K+R  C-Objective  C-PresManager  C-Sharp  C-Windows  C-X11-Athena  CAML-Light  Clean  Cobol  
D  dBase  Delphi  Dylan  
Eiffel  Elan  Erlang  Euphoria  
Focal  Forth  Fortran  Fortran77  FortranIV  
Gofer  GynkoSoft  
Haskell  HDX  HP-41C  HP-48  HTML  Human  
IBM-Exec  IBM-Exec2  ici  Icon  Informix-4GL  InstallScript  Intercal  
Java  Java-Mobile  Java-Server-Pages  Java-Servlet  JavaScript  JCL  
Limbo  Lingo  Lisp  Logo  Logo-graphical  lua  
MACRO10  mIRC  Modula-2  MSDOS  Mumps  
Natural  NewtonScript  
Oberon.oberon  Oberon.std  Occam  OpenVMS  OPL.dialog  OPL.simple  OZ  
Pascal  Pascal-Windows  Perl  PHP  Pike  PL-SQL  PL1  Pocket  Postscript  POV-Ray  Profan  Prolog  Python  
REALbasic  Rebol-view  Redcode  Rexx  Rexx.simple  Rexx.window  Ruby  
SAL  Sather  Scheme  Self  SenseTalk  Setl2  Shakespeare  Simula  Smalltalk.simple  Smalltalk.window  SML  Snobol  Spiral  SPL  ST-Guide  
Tcl  TeX  Texinfo  TI-59  TI-8x  Tk  TSO-CLIST  Turing  
Unix  
Vatical  VAX-Macro  Verilog  VisualBasic  VMS  
Whitespace  
XHTML

Links for "Hello World " programs in various languages :blush:

1 Like

:nicethrea thanks for the info mate!

First off I’m new to techenclave so wanted to say hi, very interesting post, thought I’d add a couple more languages for you.

Python:

print “Hello World”

Java:

class HelloWorld() {

public static void main(String args) {

system.out.println(“Hello, World!”);

}

}

Here’s hello world in C++

#include<iostream.h>

int main()
{
std::cout<<“Hello World!”<<endl;
return(0);
}

I wanna learn all those languages :grinning_face_with_smiling_eyes:

I remember writing 150+ lines of code to show hello world when I was learning win32 sdk. :slight_smile:

Nobody dumping something in asm? I am just too lazy :face_with_tongue:

+LT

Windows scripting VBScript:

wscript.echo(“Hello World”)

VBScript/VB6:

MsgBox “Hello World”

PL-SQL:

declare @str varchar(20)
set @str = ‘Hello World’
print(@str)
GO

C#:

MessageBox.Show(“Hello World”);

& of course good ol DOS batch

ECHO Hello World

Nice info. BTW Shakespeare programming:rofl:. Never knew this before today. k00l Im gonna learn this.

Something similar is Chef, link followed thru Shakespeare wiki. Here’s Hello world source in Chef, copied from wiki

Hello World Souffle.
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.

Very amusing :face_with_tongue:

Need the 8085 SDK manual for the machine equivalent of the letters. :face_with_tongue:

Here’s hello world for th MIPS processor :

.data
hello : .asciiz “Hello World\n”
.text
li $v0 , 4
la $a0, hello
syscall
li $v0 , 10
syscall

i remember writing one for java and c.

How would you do one in Assembly?
:smiling_face_with_sunglasses:

Javascipt:

function display()

{

alert(“hello world!”);

}

Vbscript:

function display()

msgbox(“Hello world!”)

end function