Say Hello World in 111 languages

Vishnu Sivan
31 min readApr 16, 2022

--

The tradition of using the phrase “Hello, World!” as a test message was influenced by an example program in the seminal book “The C Programming Language”. The “Hello, World!” program is a classic when you start with a programming language. Thus, all programmers have at least completed a “Hello, World!” program during their careers. Today we are going to explore Hello World in 111 programming languages.

1. 4D

4D (4th Dimension) is a relational database management system and IDE developed by Laurent Ribardiere. 4D was created in 1984 and had a slightly delayed public release for Macintosh in 1987 with its own Programming Language. The 4D product line has since expanded to an SQL back-end, integrated compiler, integration of PHP, and several productivity plug-ins and interfaces.

// Hello world in 4D, formerly known as 4th DimensionALERT("Hello World!")

2. 4Test

4Test is an object-oriented fourth-generation language (4GL) designed specifically with the needs of the QA professional in mind.

// Hello World in 4Testtestcase printHelloWorld()
print("Hello World!")

3. ABC

ABC is an imperative general-purpose programming language and integrated development environment (IDE) developed at Centrum Wiskunde & Informatica (CWI). It is interactive, structured, high-level, and intended to be used instead of BASIC, Pascal, or AWK. It is intended for teaching or prototyping, but not as a systems-programming language.

ABC had a major influence on the design of the language Python, developed by Guido van Rossum, who formerly worked for several years on the ABC system in the mid-1980s.

\ Hello world in ABCWRITE "Hello, World!" /

4. ACS

Action Code Script (ACS) is a scripting language used in video games such as HeXen and some modern Doom source ports, such as ZDoom. It is syntactically similar to C but less flexible. As its name implies, most of the core logic for script functionality comes in the form of scripts, which are traditionally identified with a numerical value. Later revisions of the ACS compiler added support for named scripts and simple functions.

// Hello world in Action Code Script (scripting language for the Hexen/Doom game engine)#include "zcommon.acs"script 1 ENTER
{
print(s:"Hello World!");
}

5. Ada

Ada is a structured, statically typed, imperative, and object-oriented high-level programming language whose development began in early 1980 and ended in 1983 with the major launch of Ada 1983. The name Ada was chosen in honor of Ada Lovelace, probably the first female computer scientist in history.

-- Hello World in Adawith Text_IO;
procedure Hello_World is
begin
Text_IO.Put_Line("Hello World!");
end Hello_World;

6. Algol 68

ALGOL 68 (short for Algorithmic Language 1968) is an imperative programming language that was conceived as a successor to the ALGOL 60 programming language, designed with the goal of a much wider scope of application and more rigorously defined syntax and semantics.

( # Hello World in Algol 68 # print(("Hello World!",newline)))

7. AngelScript

AngelScript features static typing, object handles (similar to C++ pointers but garbage collected via reference counting), object-orientation, single inheritance, multiple inheritance with interfaces. Allows operators to be registered and overloaded. AngelScript can be used with any C++ IDE, such as NetBeans, Geany, and Eclipse. C and C++ functions can be called within an AngelScript environment.

// Hello world in AngelScriptvoid main() { 
print("Hello world\n");
}

8. Ansible

Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows. It includes its own declarative language to describe system configuration. Ansible was written by Michael DeHaan and acquired by Red Hat in 2015. Ansible is agentless, temporarily connecting remotely via SSH or Windows Remote Management to do its tasks.

---
- name: Hello world as an Ansible Playbook
hosts: ansibleclient01.local
tasks:
- name: Create a file called '/tmp/testfile.txt' with the content 'hello world'.
copy:
content: hello worldn
dest: /tmp/testfile.txt

9. APL

APL (named after the book A Programming Language) is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. It uses a large range of special graphic symbols to represent most functions and operators, leading to very concise code. It has been an important influence on the development of concept modeling, spreadsheets, functional programming and computer math packages.

Hello World in APL\'Hello World\'

10. AppleScript

AppleScript is a scripting language created by Apple Inc. that facilitates automated control over scriptable Mac applications. First introduced in System 7, it is currently included in all versions of macOS as part of a package of system automation tools. The term “AppleScript” may refer to the language itself, to an individual script written in the language, or, informally, to the macOS Open Scripting Architecture that underlies the language.

-- "Hello World" in AppleScript:display dialog "Hello World"

11. Arduino

Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices.

A program for Arduino hardware may be written in any programming language with compilers that produce binary machine code for the target processor. Atmel provides a development environment for their 8-bit AVR and 32-bit ARM Cortex-M based microcontrollers: AVR Studio (older) and Atmel Studio (newer).

// Hello world in the Arduino programming language
void setup()
{
Serial.begin(9600);
Serial.println("Hello, world!");
}

12. ASP.Net

ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services.

It was first released in January 2002 with version 1.0 of the .NET Framework and is the successor to Microsoft’s Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.

<!-- Hello World in ASP.NET -->
<%= "Hello World!" %>

13. Assembly Language — 1949

The Assembler language was created in 1949. Assembly language, sometimes abbreviated asm, is any low-level programming language in which there is a very strong correspondence between the instructions in the language and the architecture’s machine code instructions.

bdos    equ    0005H    ; BDOS entry point
start: mvi c,9 ; BDOS function: output string
lxi d,msg$ ; address of msg
call bdos
ret ; return to CCP

msg$: db 'Hello, world!$'
end start

14. Asterisk

Asterisk is a software implementation of a private branch exchange (PBX). In conjunction with suitable telephony hardware interfaces and network applications, Asterisk is used to establish and control telephone calls between telecommunication endpoints, such as customary telephone sets, destinations on the public switched telephone network (PSTN), and devices or services on voice over Internet Protocol (VoIP) networks. Its name comes from the asterisk (*) symbol for a signal used in dual-tone multi-frequency (DTMF) dialing.

;; Hello world in Asteriskexten => s,1,NoOp(Hello World)

15. ATS

ATS (Applied Type System) is a programming language designed to unify programming with formal specification. ATS has support for combining theorem proving with practical programming through the use of advanced type systems. A past version of The Computer Language Benchmarks Game has demonstrated that the performance of ATS is comparable to that of the C and C++ programming languages.

// Hello world in ATSimplement main () = begin
print ("Hello, world!");
print_newline ()
end

16. AWK

AWK is a domain-specific language designed for text processing and typically used as data extraction and reporting tool. Like sed and grep, it is a filter and is a standard feature of most Unix-like operating systems.

The AWK language is a data-driven scripting language consisting of a set of actions to be taken against streams of textual data — either run directly on files or used as part of a pipeline — for purposes of extracting or transforming text, such as producing formatted reports.

# Hello world in AWKBEGIN {
print "Hello World!"
}

17. B

B is a programming language developed at Bell Labs circa 1969. It was developed by Ken Thompson and Dennis Ritchie. B was derived from BCPL, and its name may possibly be a contraction of BCPL. B was designed for recursive, non-numeric, machine-independent applications, such as system and language software.

B is now obsolete but it has had an important role to play since it has strongly inspired the programming language C which is still widely used today.

main()
{
putstr("Hello world!*n");
return(0);
}

18. BASIC

BASIC (Beginners’ All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages whose design philosophy emphasizes ease of use. The original version was designed by John G. Kemeny and Thomas E. Kurtz and released at Dartmouth College in 1964. They wanted to enable students in fields other than science and mathematics to use computers.

REM Hello World in BASIC
PRINT "Hello World!"
END

19. BCPL

BCPL (“Basic Combined Programming Language”) is a procedural, imperative, and structured programming language. Originally intended for writing compilers for other languages, BCPL is no longer in common use. However, its influence is still felt because a stripped-down and syntactically changed version of BCPL, called B, was the language on which the C programming language was based. BCPL introduced several features of many modern programming languages, including using curly braces to delimit code blocks.

// Hello world in BCPL
GET "libhdr"
LET start() = VALOF
$( writes("Hello world*N")
RESULTIS 0
$)

20. Boo

Boo is an object-oriented, statically typed, general-purpose programming language that seeks to make use of the Common Language Infrastructure’s support for Unicode, internationalization, and web applications, while using a Python-inspired syntax and a special focus on language and compiler extensibility. Some features of note include type inference, generators, multi methods, optional duck typing, macros, true closures, currying, and first-class functions.

Boo was one of the three scripting languages for the Unity game engine until it was dropped in 2014 due to the small userbase.

# Hello World in Boo
print "Hello World"

21. C*

C* was developed in 1987 as an alternative language to *Lisp and CM-Fortran for the Connection Machine CM-2 and above. The language C* adds to C a domain data type and a selection statement for parallel execution in domains.

/* Hello world in C* */
#include <stdio.h>
main()
{
printf("Hello World!\n");
}

22. C (ANSI)

ANSI C, ISO C and Standard C are successive standards for the C programming language published by the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO). Historically, the names referred specifically to the original and best-supported version of the standard (known as C89 or C90).

/* Hello World in C, Ansi-style */
#include <stdio.h>
int main(void)
{
puts("Hello World!");
return 0;
}

23. C++

C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or “C with Classes”. The language has expanded significantly over time, and modern C++ now has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation. It is almost always implemented as a compiled language, and many vendors provide C++ compilers, including the Free Software Foundation, LLVM, Microsoft, Intel, Oracle, and IBM, so it is available on many platforms.

// Hello World in C++ (pre-ISO)
#include <iostream.h>
main()
{
cout << "Hello World!" << endl;
return 0;
}

24. C#

C# was created in 2000 by Microsoft following a dispute with Sun over the Java language. C# is an object-oriented programming language designed to develop on the Microsoft.NET platform. The language is derived from C++ and Java and uses their general syntax as well as many other concepts. C# can also be used to develop web applications on the ASP.NET platform.

//Hello World in C#
class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}

25. Clipper

Clipper is an xBase compiler that implements a variant of the xBase computer programming language. It is used to create or extend software programs that originally operated primarily under MS-DOS. Although it is a powerful general-purpose programming language, it was primarily used to create database/business programs.

// Hello World in Clipper? "Hello World"

26. Clojure

Clojure is a dynamic and functional dialect of the Lisp programming language on the Java platform like other Lisp dialects, Clojure treats code as data and has a Lisp macro system. The current development process is community-driven, overseen by Rich Hickey. Clojure advocates immutability and immutable data structures and encourages programmers to be explicit about managing identity and its states.

; Hello world in Clojure(defn hello []
(println "Hello world!"))(hello)

27. COBOL

COBOL (common business-oriented language) is a compiled English-like computer programming language designed for business use. It is an imperative, procedural and object-oriented language. COBOL is primarily used in business, finance, and administrative systems for companies and governments, still widely used in applications deployed on mainframe computers, such as large-scale batch and transaction processing jobs.

* Hello World in COBOL*****************************
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
MAIN SECTION.
DISPLAY "Hello World!"
STOP RUN.
****************************

28. Cobra

Cobra is a discontinued general-purpose, object-oriented programming language. Cobra is designed by Charles Esterbrook, and runs on the Microsoft .NET and Mono platforms. It is strongly influenced by Python, C#, Eiffel, Objective-C, and other programming languages. It supports both static and dynamic typing. It has support for unit tests and contracts. It has lambda expressions, closures, list comprehensions, and generators. Cobra is an open-source project; it was released under the MIT License on February 29, 2008.

"""Hello world in Cobra"""
class Hello
def main
print 'Hello, world.'

29. CoffeeScript

CoffeeScript is a programming language that compiles JavaScript. It adds syntactic sugar inspired by Ruby, Python, and Haskell in an effort to enhance JavaScript’s brevity and readability.[4] Specific additional features include list comprehension and destructuring assignments. CoffeeScript support is included in Ruby on Rails version 3.1.

// Hello world in CoffeeScript
alert "Hello, World!"

30. D

D, also known as Dlang, is a multi-paradigm system programming language created by Walter Bright at Digital Mars and released in 2001. Andrei Alexandrescu joined the design and development effort in 2007. Though it originated as a re-engineering of C++, D is a distinct language. It has redesigned some core C++ features, while also sharing characteristics of other languages, notably Java, Python, Ruby, C#, and Eiffel.

// Hello World in D
import std.stdio;
void main()
{
writefln("Hello World!");
}

31. Dart

Dart is a programming language designed for client development, such as for the web and mobile apps. It is developed by Google and can also be used to build server and desktop applications. Dart is an object-oriented, class-based, garbage-collected language with C-style syntax. Dart can compile to either native code or JavaScript. It supports interfaces, mixins, abstract classes, reified generics, and type inference.

// Hello world in Dartmain() {
print('Hello world!');
}

32. dBase

dBase was one of the first database management systems for microcomputers and the most successful in its day. The dBase system includes the core database engine, a query system, a forms engine, and a programming language that ties all of these components together. dBase’s underlying file format, the .dbf file, is widely used in applications needing a simple format to store structured data. Originally released as Vulcan for PTDOS in 1978, the CP/M port caught the attention of Ashton-Tate in 1980.

* Hello World in dBase IV? "Hello World!"

33. E

E is an object-oriented programming language for secure distributed computing, created by Electric Communities in 1997. E is mainly descended from the concurrent language Joule and from Original-E, a set of extensions to Java for secure distributed programming. E combines message-based computation with Java-like syntax.

# Hello World in Eprintln("Hello, world!")

34. Erlang

Erlang is a general-purpose, concurrent, functional programming language, and a garbage-collected runtime system. The term Erlang is used interchangeably with Erlang/OTP, or Open Telecom Platform (OTP), which consists of the Erlang runtime system, several ready-to-use components (OTP) mainly written in Erlang, and a set of design principles for Erlang programs.

%% Hello World in Erlang-module(hello).-export([hello/0]).hello() ->
io:format("Hello World!~n", []).

35. F

F is a modular, compiled, numeric programming language, designed for scientific programming and scientific computation. F was developed as a modern Fortran, thus making it a subset of Fortran 95. It combines both numerical and data abstraction features from these languages. F is designed to be a minimal subset of Fortran, with only about one hundred intrinsic procedures.

! Hello world in Fprogram hello
print *, "Hello world!"
end program hello

36. F#

F# is a functional-first, general purpose, strongly typed, multi-paradigm programming language that encompasses functional, imperative, and object-oriented programming methods. F# is most often used as a cross-platform Common Language Infrastructure (CLI) language on .NET, but it can also generate JavaScript and graphics processing unit (GPU) code.

(* Hello World in F# *)printf "Hello World!\n"

37. Falcon

Falcon is an Open Source, simple, fast, and powerful programming language, easy to learn and to feel comfortable with, and a scripting engine ready to empower mission-critical multithreaded applications. Falcon provides six integrated programming paradigms: procedural, object-oriented, prototype-oriented, functional, tabular, and message-oriented.

// Hello World in Falcon> "Hello World!"

38. FOCUS

FOCUS is a fourth-generation programming language (4GL) computer programming language and development environment that is used to build database queries. Produced by Information Builders Inc., it was originally developed for data handling and analysis on the IBM mainframe. Subsequently, versions for minicomputers such as the VAX and other platforms were implemented. FOCUS was later extended to personal computers and (in 1997) to the World Wide Web: the WebFOCUS product.

-* Hello World in FOCUS-TYPE Hello world

39. Fortran

Fortran is a general-purpose, compiled imperative programming language that is especially suited to numeric computation and scientific computing. Originally developed by IBM in the 1950s for scientific and engineering applications, FORTRAN came to subsequently dominate scientific computing.

! Hello World in Fortran 90 and 95PROGRAM HelloWorld
WRITE(*,*) "Hello World!"
END PROGRAM

40. Gambas

Gambas is an object-oriented dialect of the BASIC programming language, as well as the integrated development environment that accompanies it. Designed to run on Linux and other Unix-like computer operating systems, its name is a recursive acronym for Gambas Almost Means Basic.

'************************************
' Hello world in Gambas
'************************************
PUBLIC SUB Main()
PRINT "Hello World"
END

41. Gentee

Gentee is a free open-source script programming language. It is designed to create scripts to automate repetitive actions and processes on your computer. If you use or plan to use .bat files, bash, PowerShell, or special programs to automate actions, then try doing the same thing with Gentee.

// Hello World in Gentee
func hello <main>
{
print( "Hello, World!" )
getch()
}

42. Go

Go is a statically typed, compiled programming language designed at Google by Robert Griesemer, Rob Pike, and Ken Thompson. Go was designed at Google in 2007 to improve programming productivity in an era of multicore, networked machines and large codebases. Go is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency. The language is often referred to as Golang because of its domain name, golang.org, but the proper name is Go.

// Hello world in Gopackage main
import "fmt"
func main() {
fmt.Printf("Hello World\n")
}

43. Gosu

Gosu is a statically-typed general-purpose programming language that runs on the Java Virtual Machine. Its influences include Java, C#, and ECMAScript. Development of Gosu began in 2002 internally for Guidewire Software, and the language saw its first community release in 2010 under the Apache 2 license. Gosu can serve as a scripting language, having free-form Program types (.gsp files) for scripting as well as statically verified Template files (.gst files).

// Hello world in Gosuprint ( "Hello World!" )

44. Gravity

Gravity is a powerful, dynamically typed, lightweight, embeddable programming language written in C without any external dependencies (except for stdlib). It is a class-based concurrent scripting language with modern Swift-like syntax. Gravity supports procedural programming, object-oriented programming, functional programming, and data-driven programming.

// Hello world in Gravityfunc main() {
System.print("Hello World!");
}

45. Groovy

Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity, familiar and easy to learn syntax. It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.

// Hello World in Groovyprintln "Hello World"

46. Hack

Hack is a programming language for the HipHop Virtual Machine (HHVM), created by Facebook as a dialect of PHP. The language implementation is open-source, licensed under the MIT License. Hack allows programmers to use both dynamic typing and static typing.

<?hh
// Hello world in Hack
echo 'Hello World';

47. Haskell

Haskell is a general-purpose, statically typed, purely functional programming language with type inference and lazy evaluation. Designed for teaching, research and industrial application, Haskell has pioneered a number of advanced programming language features such as type classes, which enable type-safe operator overloading. Haskell’s main implementation is the Glasgow Haskell Compiler (GHC).

-- Hello World in Haskell

main = putStrLn "Hello World"

48. Have

Have is a new programming language that transpiles to Go. It shares a lot with Go, the Go type system is a subset of the Have one, and libraries written in Go should feel natural to use in Have. Code written in Have should be accessible from Go too, in a way that is as elegant as possible.

// Hello world in Havefunc main() {
print("Hello, world!")
}

49. HTML

The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript. Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.

<HTML>
<!-- Hello World in HTML -->
<HEAD>
<TITLE>Hello World!</TITLE>
</HEAD>
<BODY>
Hello World!
</BODY>
</HTML>

50. HyperTalk

HyperTalk is a discontinued high-level, procedural programming language created in 1987 by Dan Winkler and used in conjunction with Apple Computer’s HyperCard hypermedia program by Bill Atkinson. Because the main target audience of HyperTalk was beginning programmers, HyperTalk programmers were usually called authors and the process of writing programs was known as scripting.

-- Hello World in HyperTalkanswer "Hello, world!"

51. Icon

Icon is a very high-level programming language based on the concept of goal-directed execution in which code returns a success along with valid values, or a failure, indicating that there is no valid data to return. The success and failure of a given block of code are used to direct further processing, whereas conventional languages would typically use boolean logic written by the programmer to achieve the same ends.

# Hello world in Iconprocedure main()
write("Hello world")
end

52. Io

Io is a pure object-oriented programming language inspired by Smalltalk, Self, Lua, Lisp, Act1, and NewtonScript. Io has a prototype-based object model similar to the ones in Self and NewtonScript, eliminating the distinction between instance and class. Like Smalltalk, everything is an object and it uses dynamic typing. Like Lisp, programs are just data trees. Io uses actors for concurrency.

// Hello World in io programming language
"Hello world!" print

53. J

The J programming language, developed in the early 1990s by Kenneth E. Iverson and Roger Hui, is an array programming language based primarily on APL. To avoid repeating the APL special character problem, J uses only the basic ASCII character set, resorting to the use of the dot and colon as inflections to form short words similar to digraphs.

NB. Hello World in J
'Hello World' 1!:2(2)

54. JADE

JADE is a proprietary object-oriented software development and deployment platform product from the New Zealand-based Jade Software Corporation, first released in 1996. It consists of the JADE programming language, Integrated development environment and debugger, integrated application server and object database management system. Designed as an end-to-end development environment to allow systems to be coded in one language from the database server down to the clients, it also provides APIs for other languages, including .NET Framework, Java, C/C++ and Web services.

// Hello World in JADE
write "Hello World";

55. Jason

Jason is a java based interpreter developed by Jomi F. Hübner and Rafael H. Bordini for an extended version of AgentSpeak. It implements the operational semantics of that language, and provides a platform for the development of multi-agent systems, with many user-customizable features. Jason is available Open Source and is distributed under GNU LGPL.

// Hello World in Jason!greeting.
+!greeting : true <- .print("Hello World").

56. Java

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle) and released in 1995 as a core component of Sun Microsystems’ Java platform. It is a general-purpose programming language intended to let application developers write once, and run anywhere (WORA) meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.

// Hello World in Javaclass HelloWorld {
static public void main( String args[] ) {
System.out.println( "Hello World!" );
}
}

57. JSP

Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent methods for building Web-based applications. JSP has access to the entire family of Java APIs, including the JDBC API to access enterprise databases.

<!-- Hello World for Java Server Pages --><%@ page language='java' %>
<%="Hello World!" %>

58. Javascript

JavaScript (JS) is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object orientation, and first-class functions. Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. Over 97% of websites use their client-side for web page behavior, often incorporating third-party libraries.

// Hello world in JavaScriptconsole.log("Hello World");

59. Jess

Jess is a rule engine for the Java platform that was developed by Ernest Friedman-Hill of Sandia National Labs. It is a superset of the CLIPS programming language. It was first written in late 1995. The language provides rule-based programming for the automation of an expert system, and is frequently termed as an expert system shell.

; Hello World in JESS(printout t "Hello World")

60. Julia

Julia is a high-level, high-performance, dynamic programming language. While it is a general-purpose language and can be used to write any application, many of its features are well suited for numerical analysis and computational science. Distinctive aspects of Julia’s design include a type system with parametric polymorphism in a dynamic programming language; with multiple dispatches as its core programming paradigm. Julia supports concurrent, (composable) parallel, and distributed computing, and direct calling of C and Fortran libraries without glue code.

# Hello world in Juliaprintln("Hello, World!")

61. K

K is a proprietary array processing programming language developed by Arthur Whitney and commercialized by Kx Systems. The language serves as the foundation for kdb+, an in-memory, column-based database, and other related financial products. The language, originally developed in 1993, is a variant of APL and contains elements of Scheme.

/ Hello world in K"Hello world!"

62. Kotlin

Kotlin is an object-oriented and functional programming language, with static typing that allows compiling for the Java virtual machine, JavaScript, and to multiple platforms natively. In 2017, Google made Kotlin the second programming language officially supported by Android after Java.

// Hello world in Kotlinfun main(args : Array<String>) {
println("Hello, world!")
}

63. Lua

Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics.

# Hello World in Luaprint "Hello world"

64. Mathematica

Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow symbolic computation, manipulating matrices, plotting functions and various types of data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other programming languages.

(* Hello world in Mathematica *)Print["Hello, World!"]

65. MATLAB

MATLAB is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages. Although MATLAB is intended primarily for numeric computing, an optional toolbox uses the MuPAD symbolic engine allowing access to symbolic computing abilities.

% Hello World in MATLAB.disp('Hello World');

66. Nim

Nim is an imperative, general-purpose, multi-paradigm, statically typed, systems, compiled programming language designed and developed by Andreas Rumpf. It is designed to be “efficient, expressive, and elegant”, supporting metaprogramming, functional, message passing, procedural, and object-oriented programming styles by providing several features such as compile-time code generation, algebraic data types, a foreign function interface (FFI) with C, C++, Objective-C, and JavaScript, and supporting compiling to those same languages.

# Hello world in Nimecho "Hello World"

67. Nit

Nit is an expressive language with a script-like syntax, a friendly type system and aims at elegance, simplicity and intuitiveness. Nit has a simple straightforward style and can usually be picked up quickly, particularly by anyone who has programmed before. While object-oriented, it allows procedural styles.

# Hello world in Nitprint "Hello, World!"

68. Node.js

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting — running scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser.

/* Hello world in Node.js */var sys = require('sys');
sys.puts('Hello World');

69. Objective-C

Objective-C is a reflexive object-oriented programming language. It is an extension of the C programming language, like C++, but differs from it in particular by its dynamic message distribution or dynamic loading.
Today, it is mainly used in Apple’s operating systems: macOS and its iOS derivative.

#import <Foundation/Foundation.h>

int main() {
@autoreleasepool {
NSLog(@"Hello, World!");
}
}

70. Octave

Octave is software featuring a high-level programming language, primarily intended for numerical computations. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with MATLAB.

#Hello World in Octave
printf("Hello World\n");

71. ParaSail

Parallel Specification and Implementation Language (ParaSail) is an object-oriented parallel programming language. ParaSail uses a pointer-free programming model, where objects can grow and shrink, and value semantics are used for assignment. It has no global garbage-collected heap. Instead, region-based memory management is used throughout. Types can be recursive, so long as the recursive components are declared optional.

// Hello world in ParaSailfunc Hello_World(var IO) is
IO.Println("Hello, World");
end func Hello_World;

72. Parser

Parser is a scripting language developed by Art. Lebedev Studio is used for web development and server-side scripting. The reference compiler for the language was developed in C++ by studio employees Konstantin Morshnev and Alexander Petrosyan to automate often repeated tasks, especially the maintenance of already existing websites. In March 2006, revision three was released as free software under a GPL license.

# Hello World in ParserHello world!

73. Pascal

Pascal is an imperative programming language created in 1970. It was designed for teaching purposes and was characterized by a clear, rigorous syntax that facilitated good program structure. Turbo Pascal is an integrated development environment for the Pascal programming language. It was a huge success during the 1980s and 1990s.

{Hello world in Pascal}program HelloWorld(output);
begin
WriteLn('Hello World!');
end.

74. Perl

Perl is a highly capable, feature-rich programming language with over 30 years of development. Perl runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects. Perl is a family of languages, Raku (formerly known as Perl 6) is part of the family, but it is a separate language that has its own development team.

# Hello world in perlprint "Hello World!\n";

75. PHP

PHP is a general-purpose scripting language especially suited to web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.

<?php
// Hello world in PHP
echo 'Hello World!';
?>

76. Picat

Picat is a simple, and yet powerful, logic-based multi-paradigm programming language aimed at general-purpose applications. Picat is a rule-based language, in which predicates, functions, and actors are defined with pattern-matching rules. Picat incorporates many declarative language features for better productivity of software development, including explicit non-determinism, explicit unification, functions, list comprehensions, constraints, and tabling.

% Hello world in Picatmain =>
print("Hello, World!\n").

77. Power Basic

PowerBASIC, formerly Turbo Basic, is the brand of several commercial compilers by PowerBASIC Inc. that compile a dialect of the BASIC programming language. There are both MS-DOS and Windows versions, and two kinds of the latter: Console and Windows.

' Hello World in Powerbasic Console CompilerFUNCTION PBMAIN () AS LONG
PRINT "Hello World"
END FUNCTION

78. Processing

Processing is a free graphical library and integrated development environment (IDE) built for the electronic arts, new media art, and visual design. Processing uses the Java language, with additional simplifications such as additional classes and aliased mathematical functions and operations.

// Hello world in Processingprintln( "Hello world!" );

79. Prolog

Prolog is a logical and declarative programming language. The name itself, Prolog, is short for PROgramming in LOGic. Prolog’s heritage includes the research on theorem provers and other automated deduction systems developed in the 1960s and 1970s.

% Hello World in Prologhello :- display('Hello World!') , nl .

80. Python

Python is an interpreted high-level general-purpose programming language. Guido van Rossum began working on Python in the late 1980s, as a successor to the ABC programming language, and first released it in 1991 as Python 0.9.0. Python’s design philosophy emphasizes code readability with its notable use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

# Hello world in Python 2print "Hello World"

81. Q

Q is a programming language for array processing, developed by Arthur Whitney. It is proprietary software, commercialized by Kx Systems. Q serves as the query language for kdb+, a disk-based and in-memory, column-based database. Kdb+ is based on the language k, a variant of the language APL. Q is a thin wrapper around k, providing a more readable, English-like interface.

/* Hello world in Q */hello = writes "Hello, world!\n";

82. Quorum

The Quorum Programming Language is an evidence-based language that started out as a project to simplify syntax and provide accessibility for blind or visually-impaired students. As Quorum gained popularity the project has expanded to improve programming language design for everyone. It now supports a wide variety of applications, like creating games, audio processing, and many other applications.

// Hello world in Quorumoutput "Hello World!"

83. R

R is a language and environment for statistical computing and graphics developed at Bell Laboratories by John Chambers and colleagues. R can be considered as a different implementation of S. R provides a wide variety of statistical (linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, etc.) and graphical techniques, and is highly extensible.

# Hello World in R
cat("Hello world\n")

84. Rebol

Rebol is a cross-platform data exchange language and a multi-paradigm dynamic programming language designed by Carl Sassenrath for network communications and distributed computing. It introduces the concept of dialecting: small, optimized, domain-specific languages for code and data.

; Hello World in REBOLprint "Hello World!"

85. Refal

Refal (Recursive functions algorithmic language) is a functional programming language oriented toward symbolic computations, including string processing, language translation, and artificial intelligence. It is one of the oldest members of this family, first conceived of in 1966 as a theoretical tool, with the first implementation appearing in 1968.

* Hello world in Refal$ENTRY Go { = <Hello>;}
Hello {
= <Prout 'Hello world'>;
}

86. RPL

RPL is a handheld calculator operating system and application programming language used on Hewlett-Packard’s scientific graphing RPN (Reverse Polish Notation) calculators of the HP 28, 48, 49, and 50 series, but it is also usable on non-RPN calculators, such as the 38, 39 and 40 series.

Hello World in RPL for the HP-28, HP-48, HP-49 and HP-50 series pocket calculators. No comments possible.<<
"HELLO WORLD"
1 DISP
60 FREEZE
>>

87. Ruby

Ruby is an interpreted, high-level, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro “Matz” Matsumoto in Japan. Ruby is dynamically typed and uses garbage collection and just-in-time compilation. It supports multiple programming paradigms, including procedural, object-oriented, and functional programming. According to the creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, BASIC, and Lisp.

# Hello World in Ruby
puts "Hello World!"

88. Rust

Rust is a multi-paradigm programming language designed for performance and safety, especially safe concurrency. Rust is syntactically similar to C++ but can guarantee memory safety by using a borrow checker to validate references. Rust achieves memory safety without garbage collection, and reference counting is optional.

// Hello world in Rustfn main() {
println!("Hello World!");
}

89. SAS

The SAS language is a computer programming language used for statistical analysis, created by Anthony James Barr at North Carolina State University. It can read data from common spreadsheets and databases and output the results of statistical analyses in tables, graphs, and as RTF, HTML and PDF documents. The SAS language runs under compilers that can be used on Microsoft Windows, Linux, and various other UNIX and mainframe computers.

/* Hello world in SAS */* Writes as output title;
TITLE "Hello World!";
* writes to the log;
data _null_;
PUT "Hello world!";
run;

90. Scala

Scala is a multi-paradigm programming language designed to express common programming models in a concise and elegant form. Scala integrates the paradigms of object-oriented and functional programming, with static typing.

// Hello world in Scalaobject HelloWorld extends App {
println("Hello world!")
}

91. Skip

Skip is a general-purpose programming language that tracks side effects to provide caching with reactive invalidation, ergonomic and safe parallelism, and efficient garbage collection. Skip is statically typed and ahead-of-time compiled using LLVM to produce highly optimized executables.

// Hello world in Skipfun main(): void {
print_raw("Hello world!")
}

92. Smalltalk

Smalltalk is an object-oriented, dynamically typed reflective programming language. Smalltalk was created as the language underpinning the “new world” of computing exemplified by “human–computer symbiosis”. It was designed and created in part for educational use, specifically for constructionist learning, at the Learning Research Group (LRG) of Xerox PARC.

"Hello World in Smalltalk"Transcript show: 'Hello World!'.

93. Squirrel

Squirrel is a high-level imperative, object-oriented programming language, designed to be a lightweight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games and embedded systems. MirthKit, a simple toolkit for making and distributing open-source, cross-platform 2D games, uses Squirrel for its platform.

#!/usr/bin/squirrelsh
// Hello world in Squirrel
printl("Hello, world!");

94. Swift

Swift is a compiled, multi-paradigm object programming language designed to be simple, high-performance and secure. It is developed in open source by Apple, which makes it a solution for developing mobile iOS applications alongside Objective-C.

// Hello world in Swiftprintln("Hello, world!")

95. Szl

Szl is a tiny, embeddable scripting engine inspired by Tcl and shell. It’s a balanced mix of their key features: szl combines the simplicity of shell scripting with the power of a dynamic, Tcl-like type system, minimalistic syntax and programming language features missing in the shell, like exceptions and OOP.

# Hello world in szl$global msg {Hello, world!}

96. TCL

Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful. Tcl casts everything into the mold of command, even programming constructs like variable assignment and procedure definition.

#!/usr/local/bin/tclsh
# Hello World in Tcl
puts "Hello World!"

97. Tex

TeX, stylized within the system as TeX, is a typesetting system which was designed and written by Donald Knuth and first released in 1978. TeX is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems.

% Hello World in plain \TeX
\immediate\write16{Hello World!}
\end

98. Thue

Thue is an esoteric programming language invented by John Colagioia in early 2000. It is a meta-language that can be used to define or recognize Type-0 languages from the Chomsky hierarchy. Because it is able to define languages of such complexity, it is also Turing-complete itself.

Hello World in Thue. No comments possible.
a::=~Hello World!
::=
a

99. Tk

Tk is a free and open-source, cross-platform widget toolkit that provides a library of basic elements of GUI widgets for building a graphical user interface (GUI) in many programming languages. Tk provides a number of widgets commonly needed to develop desktop applications, such as button, menu, canvas, text, frame, label, etc. Tk has been ported to run on most flavors of Linux, Mac OS, Unix, and Microsoft Windows.

#!/usr/local/bin/wish -f
# Hello World in Tk
label .l -text "Hello World!"
pack .l

100. Turing

Turing is a Pascal-like programming language developed in 1982 by Ric Holt and James Cordy, then of the University of Toronto, Canada. Turing is a descendant of Euclid, Pascal and SP/k that features a clean syntax and precise machine-independent semantics. Turing 4.1.0 is the latest stable version of Turing.

% Hello World in Turing
put "Hello World!"

101. TypeScript

TypeScript is a programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language. TypeScript is designed for the development of large applications and trans compiles to JavaScript. As TypeScript is a superset of JavaScript, existing JavaScript programs are also valid TypeScript programs.

// Hello world in TypeScriptalert('Hello world!');

102. Unix Shell

A Unix shell is a command-line interpreter or shell that provides a command-line user interface for Unix-like operating systems. The shell is both an interactive command language and a scripting language and is used by the operating system to control the execution of the system using shell scripts.

# Hello world for the Unix shells (sh, ksh, csh, zsh, bash, fish, xonsh, ...)echo Hello World

103. Vala

Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system. Vala is syntactically similar to C# and includes notable features such as anonymous functions, signals, properties, generics, assisted memory management, exception handling, type inference, and foreach statements.

// Hello World in Valausing GLib;int main(string[] args) {
stdout.printf("Hello world!\n");
return 0;
}

104. VBScript

VBScript is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It allows Microsoft Windows system administrators to generate powerful tools for managing computers with error handling, subroutines, and other advanced programming constructs.

' Hello World in VBScript (Windows Scripting Host)
msgbox "Hello, World!"

105. Velocity

Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code. When Velocity is used for web development, Web designers can work in parallel with Java programmers to develop websites according to the Model-View-Controller (MVC) model.

<HTML>
<!-- Hello World in Velocity -->
<BODY>
#set( $foo = "Hello World" )
$foo
</BODY>
</HTML>

106. Verilog

Verilog, standardized as IEEE 1364, is a hardware description language used to model electronic systems. It is most commonly used in the design and verification of digital circuits at the register-transfer level of abstraction.

/* Hello World in Verilog. */module main;initial
begin
$display("Hello, World");
$finish ;
endend module

107. Wolfarm

The Wolfram Language is a general multi-paradigm programming language developed by Wolfram Research. It emphasizes symbolic computation, functional programming, and rule-based programming and can employ arbitrary structures and data. It is the programming language of the mathematical symbolic computation program Mathematica.

(* Hello world in Wolfram Language *)CloudDeploy["Hello World"]

108. Xbase++

Xbase++ is an object-oriented programming language that has multiple inheritance and polymorphism. It is based on the XBase language dialect and conventions. It is a 100% Clipper compatible language supporting multiple inheritances, polymorphism, and object-oriented programming. It supports the xBase data types, including Codeblocks.

Hello World in Xbase++
func Main()
Qout("Hello World!")
return 1

109. XQuery

XQuery is a query and functional programming language that queries and transforms collections of structured and unstructured data, usually in the form of XML, text and vendor-specific extensions for other data formats. The language is developed by the XML Query working group of the W3C.

(: Hello World with XQuery :)
let $i := "Hello World"
return $i

110. XSLT

XSLT is a language for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text or XSL Formatting Objects, which may subsequently be converted to other formats, such as PDF, PostScript and PNG. XSLT 1.0 is widely supported in modern web browsers.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Hello World in XSLT -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:text>Hello World!</xsl:text>
</xsl:template>
</xsl:stylesheet>

111. Zig

Zig is an imperative, general-purpose, statically typed, compiled system programming language designed by Andrew Kelley. The language is designed for robustness, optimality and maintainability, supporting compile-time generics and reflection, cross-compilation and manual memory management. A major goal of the language is to improve upon the C language, while also taking inspiration from Rust among others.

// Hello world in Zigconst io = @import("std").io;pub fn main(args: [][]u8) -> %void {
%%io.stdout.printf("Hello, world!\n");
}

CheatSheet

Thanks for reading this article.

If you enjoyed this article, please click on the clap button 👏 and share to help others find it!

All programming language descriptions are taken from Wikipedia.

If you are interested in further exploring, here are some resources I found helpful along the way:

--

--

Vishnu Sivan
Vishnu Sivan

Written by Vishnu Sivan

Try not to become a man of SUCCESS but rather try to become a man of VALUE

No responses yet