Send Close Add comments: (status displays here)
Got it!  This site "www.robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
Hello world in many languages
by RS  admin@robinsnyder.com : 1024 x 640


1. Hello world
Here is the "Hello world" program in various programming languages.

Each language is preceded by a very short introduction to that programming language.

2. C
The C programming language is still used

3. C code and output
Here is the C code [#1]

Here is the output of the C code.


4. C++
The successor to C, C++, is used for software including systems software and graphics software.

5. C#
C#, a Microsoft .NET language, was designed to combine the best aspects of Delphi Pascal and C++ and has continued to improve over time.

6. C# code and output
Here is the C# code [#1]

Here is the output of the C# code.


7. D
D is a newer language designed to be an improvement of C.

8. D code and output
Here is the D code [#1]

Here is the output of the D code.


9. Go
Go is a programming language developed by Google to help solve certain types of problems needed in big data and search engine support, but can be used as a general-purpose programming language.

10. Go code and output
Here is the Go code [#1]

Here is the output of the Go code.


11. Forth
Forth is a stack-based language. A popular Forth system is gForth.

12. Forth code and output
Here is the Forth code [#1]

Here is the output of the Forth code.


13. Haskell
Haskell is a lazy functional language.

14. Haskell code and output
Here is the Haskell code [#1]

Here is the output of the Haskell code.


15. Java
The Java programming language is used to obtain machine independence and runs on many platforms, including Windows, Linux and Apple.

Java is the main language used for Android mobile applications.

Java forces class-based object-oriented programming so that Java programs tend to be more difficult to write and change than with other programming languages.

16. Java code and output
Here is the Java code [#1]

Here is the output of the Java code.


17. JavaScript
JavaScript started as a scripting language for client-side web pages.

JavaScript has expanded to include server-side and command line programs (e.g., using node.js).

18. JavaScript code and output
Here is the JavaScript code [#1]

Here is the output of the JavaScript code.


19. Julia
Julia is oriented towards numerical computation as found in big data processing, data science applications, machine learning, etc.

20. Julia code and output
Here is the Julia code [#1]

Here is the output of the Julia code.


21. Kotlin
Kotlin is a modern language primarily intended as an alternative to Java for developing Android applications.

22. Kotlin code and output
Here is the Kotlin code [#1]

Here is the output of the Kotlin code.


23. Lua
Lua is a simple put powerful scripting language written in standard (ANSI) C, so Lua can be embedded in many other programs as a scripting language.

In the computer game industry, Lua is often used by game designers to script actions while the low-level graphics are written in a language such as C++.

24. Lua code and output
Here is the Lua code [#1]

Here is the output of the Lua code.


25. Pascal
Pascal is an older programming language that is still used for some purposes.

26. Pascal code and output
Here is the Pascal code [#1]

Here is the output of the Pascal code.


27. Python
Python is a simple but powerful language used for scripting applications. Due to the large library of Open Source packages, Python is used a lot for machine learning, data science, natural language processing, and many other areas. Note: Python forces indentation rules within the source file, unlike most other programming languages.

For run-time efficiency, Python relies on some packages that are compiled C/C++ code.

28. Python code and output
Here is the Python code [#1]

Here is the output of the Python code.


29. PHP
PHP is a scripting language for server-side web pages, though it can be used for command line programs.

30. PHP code and output
Here is the PHP code [#1]

Here is the output of the PHP code.


31. Prolog
Prolog is a logic language that is good for solving certain types of problems that usually often depth first search and backtracking.

32. Prolog code and output
Here is the Prolog code [#1]

Here is the output of the Prolog code.


33. R
R is a popular statistical system that can be programmed via scripts.

34. R code and output
Here is the R code [#1]

Here is the output of the R code.


35. Racket
Racket is a newer functional-based language.

36. Racket code and output
Here is the Racket code [#1]

Here is the output of the Racket code.


37. Ruby
Ruby is an object-oriented scripting language for server-side web pages, though it can be used for command line programs.

38. Ruby code and output
Here is the Ruby code [#1]

Here is the output of the Ruby code.


39. Rust
Rust is a modern programming language designed to be safer than, say, traditional C++.

40. Rust code and output
Here is the Rust code [#1]

Here is the output of the Rust code.


41. Scheme
Scheme is a functional language. Functional languages use a more general declarative approach rather than a command-based imperative approach to programming.

42. Scheme code and output
Here is the Scheme code [#1]

Here is the output of the Scheme code.


43. Visual Basic Script
VBS (Visual Basic Script) is a Microsoft scripting language used for command line scripts (though PowerShell is used in many cases), Office macro programming in VBA (Visual Basic for Applications) - a scripting language based on VBS that has extensions to support Word, Excel, PowerPoint, etc.

ASP (Active Server Pages) is a VBS based scripting system for server-side web pages.

44. VBScript code and output
Here is the VBScript code [#1]

Here is the output of the VBScript code.


45. Other languages
I have included languages that I have, to date, automated the running, with or without input, and generating output, during the format of the source document into web page, document, presentation, etc.

I use a macro-formatting process so that I can write the same source code in a macro language and generate many other languages from the same source. There are many other important and useful programming languages not covered here. Some include the following. I have used many of these, but they have not been yet fully integrated into my text formatter generator system.

46. End of page

by RS  admin@robinsnyder.com : 1024 x 640