DEV Community

Cover image for Why do we use Hello World? - the history behind it

Why do we use Hello World? - the history behind it

Just5MoreMinutes on February 06, 2022

Hello World! Oh wait... Hello everyone! I got bored today and did some intense research on the history of Hello World!. My mission (of finding out...
Collapse
 
djquecke profile image
DJ Quecke • Edited

I'm mildly insulted by your term "ancient developers" but that aside, I started learning BASIC in high school on a IBM 360 computer in 1976 and "Hello World" was my first program then. You might want to check IBM BASIC documentation for teachers from that period. I did enjoy your article and like to think I'm approaching "ancient" but not quite there yet.

Collapse
 
just5moreminutes profile image
Just5MoreMinutes • Edited

Using the term ancient probably was a little harsh, sorry about that!
I'll check the documentation and maybe expand on some points or re-write my article partially :)
Thank you so much for your feedback!
++++
UPDATE: I did intensive research and looked through several BASIC manuals, documentations and books from around 1976, but I sadly didn't find anything!
Still, thank you so much for mentioning that! :) I'm sure it was used a lot for teaching, though it seemingly wasn't yet mentioned in any books...

Collapse
 
djquecke profile image
DJ Quecke

Late night crusing and I found a couple of links I think.
Dartmouth was way ahead of the times in the 60's when they first developed time sharing on a mainframe. Then they developed the BASIC language for these mainframe terminals.

When time sharing was introduced on the IBM\360 they provided the PL/1 and BASIC languages to the terminal users. I also have been unable to find a reference for BAISC on the 360 although I am certain I used it '76, my senior year of high school.

There is a pretty good article at:

time.com/69316/basic/

I also found the textbook I used for APL in '76.

softwarepreservation.org/projects/...

Interesting stuff. Powerful language.

Thanks for your article, it got me thinking of my earliest days with computers.

Collapse
 
just5moreminutes profile image
Just5MoreMinutes • Edited

Disclaimer: I'm very sorry for the late response!

wow, it's been a while since I last checked up on DEV and I was quite surprised to see any traction on this post!

Anyway, thank you very much for the two links and the additional research! I read through the article and it was very interesting. I learned a lot of new things from it and it was especially exciting to get to know how computers and programming became more mainstream thanks to BASIC. It truly seems to be a powerful language, thanks for sharing the article!

I'm currently checking out the textbook.

Also, I'm glad you enjoyed the article, thank you very much for reading, giving feedback and doing some more research!

Collapse
 
pauldubois777 profile image
Paul DuBois

What about "Hello World" in 6809 assembler for the Radio Shack Color Computer!

* FILENAME: HELLO.ASM
* CLEARS SCREEN, PRINTS "HELLO WORLD" AND
* WAITS FOR KEYPRESS

    ORG $2A00

START
* CREATE NEW STACK
    STS OLDS
    LDS #24+STK

* CLEAR THE SCREEN
    JSR $A928

* PRINT THE MESSAGE     
    LDX #MESG
LOOP    LDA ,X+
        BEQ KEY

* CALL CHROUT
    JSR [$A002]
    BRA LOOP

* WAIT FOR KEYPRESS        
KEY JSR [$A000]
    BEQ KEY

* RESTORE STACK
    LDS OLDS

* RETURN TO BASIC
DONE    RTS

* DATA
MESG    FCC /HELLO WORLD/
    FCB 13
    FCB 0
OLDS    RMB 2
STK RMW 12
    END START
Enter fullscreen mode Exit fullscreen mode

Courtesy of TRS-80 Coco 6809 ASM Hello World

Collapse
 
acoh3n profile image
Arik

Now, that's code.

Collapse
 
pauldubois777 profile image
Paul DuBois

Thanks for your post.

There is actually a movie called, "Hello World". It's a great movie about inclusion and diversity in the software-developer world.

Hello World - Confronting Bias in Software Development

Collapse
 
just5moreminutes profile image
Just5MoreMinutes

Oh wow! I haven't heard of that one yet! Certainly a movie I will add to my watchlist, thanks! :)

Collapse
 
guillep2k profile image
Guillermo Prandi

In my not researched opinion, Hello World is a simpler phrase than "My human understands me", so people to which English is not their first language it might have been more easy to grasp.

Collapse
 
just5moreminutes profile image
Just5MoreMinutes

That certainly also was a reason! Thanks for mentioning that, I sort of overlooked, and didn't think of it, while researching!

Collapse
 
keomamallett profile image
Keoma Mallett

I enjoyed reading this!

Collapse
 
andypiper profile image
Andy Piper

Nice bit of research, thanks for sharing this.

Collapse
 
just5moreminutes profile image
Just5MoreMinutes

No problem :)
Thank you so much for the feedback!

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

Thank you very much, I didn't know this piece of history, yet. But the book's name is "The C Programming Language".

Collapse
 
just5moreminutes profile image
Just5MoreMinutes

Oh, oops! I switched some things up! I changed it :)
Thanks for the feedback!

Collapse
 
mohammed5rafi profile image
Muhammed Rafi

thaks for the qustions i have the same doubt for a while

Collapse
 
mandaputtra profile image
Manda Putra

Famous hellow world song youtube.com/watch?v=Yw6u6YkTgQ4

Collapse
 
ifierygod profile image
Goran Kortjie

When the ancient developers created the first hello world program millions of years ago