User:K8joc8ohGee9j/sandbox

ActionScript 3.0
or (if you want it to show on the stage)

Adventure Game Studio Script
or (if you want to draw it to the background surface)

Agda
Compiled using Agda 2.4.02. Note that the IO module is part of the Haskell FFI. (You may need to run cabal install inside the ffi folder of your agda standard library.)

Amiga E
PROC main WriteF('Hello, world!') ENDPROC

APL
'Hello, world!'

AppleScript
or if you want a button to trigger the dialog:

AS/400 Control Language
PGM SNDPGMMSG MSG('Hello, world!') ENDPGM

Assembly language &mdash; Intel 8086 Microprocessor Emulator - emu8086
Without using print procedure :

Assembly language &mdash; Z80
For TI 83, TI 83+, TI 83+SE, TI 84+, and TI 84+SE calculators:

And in pure hex:

219F9D EF0A45 EF2E45 C9 48692100

Axe Parser &mdash; TI-83/TI-84 plus and SE
ClrHome Disp "HELLO, WORLD!" Return

BCPL
GET "LIBHDR"

LET START BE $( WRITES("Hello, world!*N") $)

Befunge
>25*"!dlrow ,olleH":v v:,_@ > ^

brainfuck
==

C++/Qt
Via a GUI QLabel widget:

Via a GUI static QMessageBox dialog:

C#
In a console or terminal:

Via a GUI message box:

Clojure
Console version:

GUI version:

CoffeeScript
To display an alert dialog box:

To write to a console or debugging log:

ColdFusion Markup Language (CFML)
CF Script:

CFML Tags:

==

DCL
WRITE SYS$OUTPUT "Hello, world!"

Delphi
==

Eiffel
(message "Hello, World!")

Ezhil
பதிப்பி "உலகே வணக்கம்"

Falcon
or

Filemaker
Show Custom Dialog ["Hello, world" ; "Hello, world"]
 * 1) Hello World using Filemaker Pro

Fortran
Fortran 90 and later: OR FORTRAN 77 and prior; also accepted in Fortran 90 and later: OR

Inform7
when play begins, say "Hello World!"

==

'Hello, world!'

Java
In console: or in window with Swing:

or in dialog:

Test-Driven Development with Java
Best-practice coding now involves writing the automated test before the code. The test is coded, the test may be demonstrated to fail, code is then added and corrected until the test passes.

Then the simplest program to make the test pass is written.

JavaScript
To write to a console or debugging log:

To display an alert dialog box:

To write to an HTML document:

Using Mozilla's Rhino:

Julia
println("Hello world!")

M4
Hello, world!

Malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=

Obix
system.console.write_line ( "Hello, world!" )

Objective-C
Otherwise (by gcc on pre-OpenStep or Apple Object based runtime):

Pre-Modern (post-1994 OpenStep based Foundation APIs:

Modern (llvm, ARC memory management):

Opa
A "hello world" web server:

Oriel
MessageBox(OK, 1, INFORMATION, "Hello, world!", "Oriel Says Hello", ResponseValue)

Perl 5
Or

PHP
or

or

or

This works because php will echo by default

PostScript
%!PS /Courier 72 selectfont 20 20 moveto (Hello World!) show showpage

Python
Python 2:

Python 3:

Python IDLE:

Qalb (قلب)
==

Racket
Trivial "hello world" program: Running this program produces. More direct version:

A "hello world" web server using Racket's  language:

In Scribble, Racket's documentation language:

RPG (free-format)
/free dsply 'Hello, world!'; *inlr = *on; /end-free

RTL/2
TITLE Hello, world!;

LET NL=10;

EXT PROC(REF ARRAY BYTE) TWRT;

ENT PROC INT RRJOB; TWRT("Hello, world!#NL#"); RETURN(1); ENDPROC;

Rust
fn main { println!("Hello, world!"); }

Scala
or

Simula
Begin OutText ("Hello, world!"); Outimage; End;

SmileBASIC
or

SNOBOL
OUTPUT = 'Hello, world!' END

Speakeasy
As an interactive statement : "Hello, world!"

As a program : program hello "Hello, world!" end

TI-BASIC
PROGRAM:HELLOWLD
 * ClrHome
 * Disp "HELLO, WORLD!"

or PROGRAM:HELLOWLD
 * ClrDraw
 * Output(1,1,"HELLO, WORLD!")
 * DispGraph

For m68k calculators:

hellowld
 * Prgm
 * ClrIO
 * Disp "HELLO, WORLD!"
 * EndPrgm

For Ti Nspire/CAS:

text"HELLO, WORLD!"

For Ti Nspire CX:

text "HELLO, WORLD!" or Disp "HELLO, WORLD"

Turing
put "Hello World!"

Visual Basic .NET
In a console or terminal window:

In a message box: