Hello World in Every Language

Hello World in Every Language Featured Image

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:

  1. The Hello World Collection
  2. The leachim6 GitHub Repo

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 mine.

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:

  1. Hello World in ALGOL 68
  2. Hello World in Bash
  3. Hello World in Befunge
  4. Hello World in Brainfuck
  5. Hello World in C
  6. Hello World in C*
  7. Hello World in C#
  8. Hello World in C++
  9. Hello World in Crystal
  10. Hello World in D
  11. Hello World in Dart
  12. Hello World in Elixir
  13. Hello World in Elm
  14. Hello World in Go
  15. Hello World in Google Apps Script
  16. Hello World in Hack
  17. Hello World in Haskell
  18. Hello World in Java
  19. Hello World in JavaScript
  20. Hello World in Julia
  21. Hello World In Koka
  22. Hello World in Kotlin
  23. Hello World in Lisp
  24. Hello World in Lua
  25. Hello World in MATLAB
  26. Hello World in MoonScript
  27. Hello World in Objective-C
  28. Hello World in Opa
  29. Hello World in Pascal
  30. Hello World in Perl
  31. Hello World in PHP
  32. Hello World in PicoLisp
  33. Hello World in PowerShell
  34. Hello World in Python
  35. Hello World in R
  36. Hello World in Racket
  37. Hello World in Red
  38. Hello World in Ruby
  39. Hello World in Rust
  40. Hello World in Scala
  41. Hello World in Scheme
  42. Hello World in Solidity
  43. Hello World in Swift
  44. Hello World in Visual Basic .NET
  45. 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.

Series Navigation← Sample Programs in Every LanguageHello World in Python →
Advertisements

2 thoughts on “Hello World in Every Language

  1. Gayane Muradyan Reply

    hi, you can add it on Pascal. it’s good language for students and in general for study programing, so I think “hello world ” very common with this language.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.