What originally started as a 100 Days of Code challenge has blossomed into a serious project. Welcome to Hello World in Every Language: a series of Hello World implementations in as many programming languages as possible.
Table of Contents
What is Hello World?
According to Wikipedia, Hello World is any program that displays “Hello, World!” to the user. In many cases, Hello World is used to demonstrate basic features of a programming language.
The Hello World program supposedly first appeared in 1972 in Brian Kernighan’s book A Tutorial Introduction to the Language B:
main(){ extrn a,b,c; putchar(a); putchar(b); putchar(c); putchar('!*n'); } a 'hell'; b 'o, w'; c 'orld';
Today, Hello World has become the standard introduction to just about every programming tutorial. In fact, I even used Hello World in my Java class structure tutorial. Now, I’m trying to implement Hello World in every programming language.
Why Hello World in Every Language?
Now to be fair, I’m not the first person to tackle Hello World in every language. In fact, there are two archives I’m aware of:
Both of these archives simply list the various Hello World implementations without a lot of context. As a result, these archives are much larger than my GitHub collection.
However, if you’re looking for something a bit more interesting, you’re in luck. With each of my implementations, you’ll get a brief breakdown of the solution and the historical background of the language. As a bonus, you’ll get to watch me grow on this journey. Hopefully, that’s a little more fun!
An Alphabetical List of Languages
If you’ve had a chance to browse through any of my Hello World implementations, then you know that there’s really no order in the chaos. In other words, I explore languages almost randomly. While that’s fun for me, I am certain this is frustrating to you.
As a result, I’ve decided to provide a list of all the languages in alphabetical order. Consider this an index:
- Hello World in ALGOL 68
- Hello World in Bash
- Hello World in Befunge
- Hello World in Brainfuck
- Hello World in C
- Hello World in C*
- Hello World in C#
- Hello World in C++
- Hello World in Crystal
- Hello World in D
- Hello World in Dart
- Hello World in Elixir
- Hello World in Elm
- Hello World in Go
- Hello World in Goby
- Hello World in Google Apps Script
- Hello World in Hack
- Hello World in Haskell
- Hello World in Java
- Hello World in JavaScript
- Hello World in Julia
- Hello World In Koka
- Hello World in Kotlin
- Hello World in Lisp
- Hello World in Lua
- Hello World in MATLAB
- Hello World in MoonScript
- Hello World in Objective-C
- Hello World in Opa
- Hello World in Pascal
- Hello World in Perl
- Hello World in PHP
- Hello World in PicoLisp
- Hello World in PowerShell
- Hello World in Python
- Hello World in R
- Hello World in Racket
- Hello World in Red
- Hello World in Ruby
- Hello World in Rust
- Hello World in Scala
- Hello World in Scheme
- Hello World in Solidity
- Hello World in Swift
- Hello World in Visual Basic .NET
- Hello World in Wren
As always, thanks for sticking around. If there’s a language missing that you want to see, feel free to drop it down in the comments. I’m always looking to explore new languages.
Recent Posts
Recently, I was thinking about the old Pavlov's dog story and how we hardly treat our students any different. While reflecting on this idea, I decided to write the whole thing up for others to read....
In the world of programming languages, expressions are an interesting concept that folks tend to implicitly understand but might not be able to define. As a result, I figured I'd take a crack at...