C言語
#include <stdio.h>
int main ()
{
printf("hello, world");
return 0;
}
D言語
import std.stdio;
int main ()
{
writefln("hello, world");
return 0;
}
Haskell
main = putStrLn "hello, world"
Scala
Lua
print "hello, world"
Scheme
(display "hello, world")
Erlang
-module(hello)
-export([h_w/0])
h_w() -> io:fwrite("hello, world").