Assembly (x86)
Dating to the late 1940s, Assembly offers direct CPU instruction control, excelling for performance‑critical and hardware‑level tasks.
section .data
msg db "Hello, World!", 0xA
len equ $ - msg
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, msg
mov edx, len
int 0x80
mov eax, 1
xor ebx, ebx
int 0x80
Fortran
Created by John Backus’s team at IBM in 1957, Fortran pioneered high‑level numeric computation for engineering and research.
PROGRAM HELLO
PRINT *, "Hello, World!"
END
Lisp
John McCarthy’s 1958 Lisp introduced symbolic processing and garbage collection, laying groundwork for AI research.
(print "Hello, World!")
COBOL
Standardized in 1959 under Grace Hopper, COBOL excels in business data processing and remains vital in legacy systems.
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
PROCEDURE DIVISION.
DISPLAY "Hello, World!".
STOP RUN.
BASIC
Dartmouth’s Kemeny and Kurtz released BASIC in 1964 to democratize programming via time‑sharing systems.
10 PRINT "Hello, World!"
20 END
Pascal
Niklaus Wirth’s 1970 Pascal emphasized structured programming and data types, influencing later educational languages.
program HelloWorld;
begin
writeln('Hello, World!');
end.
C
Dennis Ritchie’s 1972 C introduced portable systems programming, laying foundations for modern operating systems.
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
C++
Bjarne Stroustrup’s 1985 C++ extends C with object orientation, widely used in game engines and infrastructure.
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
Python
Guido van Rossum’s 1991 Python prioritizes readability and versatility, powering web, data science, and AI.
print("Hello, World!")
Java
James Gosling’s 1995 Java runs on the JVM for cross-platform compatibility, dominant in enterprise and Android.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Ruby
Yukihiro Matsumoto’s 1995 Ruby values simplicity and developer happiness, popularized by Rails in web dev.
puts 'Hello, World!'
JavaScript
Brendan Eich’s 1995 JavaScript enabled dynamic web pages, now ubiquitous across browsers and servers.
console.log("Hello, World!");
Go
Google’s Griesemer, Pike, and Thompson released Go in 2009 for simple, reliable concurrency in networked systems.
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
Rust
Mozilla’s Hoare unveiled Rust in 2010, focusing on memory safety and performance without garbage collection.
fn main() {
println!("Hello, World!");
}
Swift
Apple introduced Swift in 2014 for safe, fast development across iOS, macOS, watchOS, and tvOS platforms.
print("Hello, World!")