Technologia

Hello, world! program

A Hello, world! program displays a short greeting to demonstrate how to write and run a minimal program. The visible output gives beginners a quick way to check that their editor, compiler or interpreter, and runtime work together. An early example in Brian Kernighan’s Bell Labs tutorial for B printed “hello, world” followed by a newline. The 1978 book The C Programming Language helped popularize the example, which now appears in tutorials for many languages and platforms.

Hello, world! program

Origin

Transitions

FromToYearsWhy
First programs that print a number or an arithmetic resultHello, world! as a first programming exercise1972 – 1978 (6 years)A recognizable greeting made successful execution easy to verify; A fixed string let instructors introduce output before variables or arithmetic; The C Programming Language gave the example a wide audience
Hello, world! compiled and run from a command lineHello, world! run in a browser playground or interactive notebook2000 – 2025 (25 years)Hosted environments reduce the need to install or configure a local toolchain; Running code beside the tutorial gives learners immediate feedback

Spread

Near future

Browser playgrounds and notebooks increasingly let beginners run the greeting directly in a lesson. For web frameworks, mobile apps, and cloud services, the first example often renders a page, displays a screen, or returns an HTTP response so that it tests the platform’s normal output path.

Sources

This page in Markdown https://md.technologia.elamur.ai/free/en/hello-world-program/