Hello, World!

This is my first blog so I thought I should start this blog by writing Hello, World! just like we do with the programming.

Hello, World!

The first known Hello, World! program was written by Brian Kernighan and Dennis Ritchie, the creators of the C…


This content originally appeared on DEV Community and was authored by Aadarsh Kannan

This is my first blog so I thought I should start this blog by writing Hello, World! just like we do with the programming.

Hello, World!

The first known Hello, World! program was written by Brian Kernighan and Dennis Ritchie, the creators of the C programming language, in 1972.

Hello, World! programs have been written in almost every programming language imaginable. As the first program that many people learn, it is generally simple and straightforward. However, some Hello, World! programs can be quite complex and creative.

One of the earliest Hello, World! programs were written by Tim Berners-Lee, the creator of the World Wide Web. His program simply displayed the text "Hello, world!" on a web page.

Hello, World! programs have been used to demonstrate the power of new programming languages, to test new hardware or software, and even to make political statements. In 2014, the European Organization for Nuclear Research (CERN) released a Hello, World! program that was used to discover the Higgs boson, one of the most important particles in the universe.

Below are some of the implementations of programming language to print Hello, World!
alt text

C

#include <stdio.h>
int main()
{
  printf("Hello, World!");
  return 0;
}

CPP

#include <iostream>
int main()
{
  std::cout << "Hello, World!";
  return 0;
}

Javascript

console.log("Hello, World!");

Python

print("Hello, World!")

Java

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

Julia

println("Hello, World!")

C#

using System;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
        }
    }
}

*GoLang *

package main

import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

Verilog

module HELLO_WORLD(); 
  initial begin
    $display("Hello World");
    $finish; 
  end
endmodule

Hello, World! programs will continue to be written as long as there are new programming languages to learn and new hardware to test. They will always be a part of the computer world, and will likely remain one of the most popular ways to learn a new programming language.

That's the end of this article! Hope you liked it!


This content originally appeared on DEV Community and was authored by Aadarsh Kannan


Print Share Comment Cite Upload Translate Updates
APA

Aadarsh Kannan | Sciencx (2022-07-16T00:18:00+00:00) Hello, World!. Retrieved from https://www.scien.cx/2022/07/16/hello-world-19/

MLA
" » Hello, World!." Aadarsh Kannan | Sciencx - Saturday July 16, 2022, https://www.scien.cx/2022/07/16/hello-world-19/
HARVARD
Aadarsh Kannan | Sciencx Saturday July 16, 2022 » Hello, World!., viewed ,<https://www.scien.cx/2022/07/16/hello-world-19/>
VANCOUVER
Aadarsh Kannan | Sciencx - » Hello, World!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/07/16/hello-world-19/
CHICAGO
" » Hello, World!." Aadarsh Kannan | Sciencx - Accessed . https://www.scien.cx/2022/07/16/hello-world-19/
IEEE
" » Hello, World!." Aadarsh Kannan | Sciencx [Online]. Available: https://www.scien.cx/2022/07/16/hello-world-19/. [Accessed: ]
rf:citation
» Hello, World! | Aadarsh Kannan | Sciencx | https://www.scien.cx/2022/07/16/hello-world-19/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.