And finally, I am blogging...
Several ideas stormed my mind during the previous couple of years, but I've been overwhelmed with my PhD (well, now I am even more busy :); finally, I decided to share my ideas, hopefully, they could benefit someone, someday, somewhere, somehow, some$$...
Okay, but what is interesting in "Hello, world"?
I did a small research about the subject, and here are the answers.
![]() |
Ken Thompson (sitting) and Dennis Richie using a PDP-11 computer. |
First appearance in books?
In fact, the "hello, world" phrase gained its celebrity since 1978, as it appeared in the famous book "The C Programming Language" [2] of Brian Kernighan and Dennis Ritchie (the C and UNIX pioneer together with Ken Thompson). And it seems that this was the first programming book ever to mention this phrase [5]. The first piece of "hello, world" C code was even sold at The Algorithm Auction.
First documented?
![]() |
Brian Kernighan in youth. |
According to Charles (or Chuck) W. Herbert [6] (the author of "An Introduction to Programming Using Alice" book), the "hello, world" even predates Kernighan's tutorial. C. Herbert met both Brian Kernighan and Martin Richards (the BCPL language developer) at Cambridge in 1990, and Brian remembered writing the code in the draft I/O section of the BCPL manual at Bell Labs in 1972. Martin also confirmed that from a treasure of old documents he has. (It seems both M. Richards and C. Herbert have copies of the 1972 Bel Labs BCPL tutorial, not the published one that refers to 1974; I would be grateful if you came across an e-copy and sent it to me.)
Nonetheless, this does not actually contradict Dennis Ritchie's narrative, since B and BCPL appeared almost at the same time at Bell Labs, and the "Technical Report #8" of Bell Labs was published in January, 1973. This strongly supports the claim that "hello, world" first appeared in 1972.
![]() |
This is how the first "hello, world" looked like. |
Nonetheless, this does not actually contradict Dennis Ritchie's narrative, since B and BCPL appeared almost at the same time at Bell Labs, and the "Technical Report #8" of Bell Labs was published in January, 1973. This strongly supports the claim that "hello, world" first appeared in 1972.
But why "Hello, world"?
I hope you liked this post, and I leave you with Brian Kernighan himself answering this question to Forbes magazine in his interview "Brian Kernighan: No one Thought C Would Become So Big [7]:
"Memory is dim now. What I do remember is that I had seen a cartoon that showed an egg and a chick and the chick was saying, “Hello, world”."...
References and readings:
[1]. Lamport, Leslie. "Buridan’s principle." Currently available from http://research. microsoft. com/users/lamport/pubs/pubs. html, or by searching the Web for the(1984).
[2]. Kemighan, B. W., & Ritchie, D. M. (1978). The C programming language. Bell Telephone Laboratories, Incorporated, Englewood Cliffs, NJ.
[3]. Kernighan, B. W. (1974). ‘Programming in C− A Tutorial. Internal memorandum, Bell Laboratories. https://www.bell-labs.com/usr/dmr/www/ctut.pdf
[4]. Kernighan, B. W. A Tutorial Introduction to the Language B. https://www.bell-labs.com/usr/dmr/www/btut.html.
[5] Seibel, P. (2005). Practical common lisp. Apress.
[6] StackOverflow. http://stackoverflow.com/questions/602237/where-does-hello-world-come-from. Available on September 2015.
[7]. Forbesindia magazine. Brian Kernighan: No one Thought C Would Become So Big. http://forbesindia.com/interview/special/brian-kernighan-no-one-thought-c-would-become-so-big/29982/1#ixzz3lzDd3TUp. Available on September 2015.
No comments:
Post a Comment