Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Looking at so many programming languages we have today, each one being unique in it's own way, I've tried to figure out what the first programming language written for computers is.

Looking at the release date for the popular ones I got somewhat close but I didn't look at less obvious ones, programming languages which are either dead or very little use nowadays. Fortran is the closest thing I got but I don't know if it's real.

In a nutshell: What was the first programming language written for computers? Are there any languages that derived from that language?

share|improve this question
machine language –  ratchet freak Mar 24 '12 at 21:15
ThePlan read our "how to ask" guidelines and please do some minor research before asking on Programmers. All the information you are looking for in this question is available on the History section on the Wikipedia article on programming languages and the more extended article History of programming languages. If you do the research, make sure to tell us about it in your questions (how else would we know?). –  Yannis Rizos Mar 24 '12 at 23:21
(cont...) I get it that you are a youngster starting out, however you need to understand that one of the most important skills for a software developer is effective research. Getting "cheap" answers from Programmers won't help you much in the long run. –  Yannis Rizos Mar 24 '12 at 23:23
OMG! Google exists! Who knew?! –  Dynamic Mar 25 '12 at 15:31
You don't know if FORTRAN is real!?!? –  Gaius Jun 5 '12 at 16:00
show 3 more comments

closed as too broad by gnat, GlenH7, Dynamic, MichaelT, Bart van Ingen Schenau Mar 8 at 12:08

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

7 Answers

up vote 15 down vote accepted

It's difficult to answer that definitively, but Plankalkül was designed by Konrad Zuse between 1943 and 1945. The linked Wikipedia article refers to it as "the first high-level non-von Neumann programming language to be designed for a computer".

See also.

share|improve this answer
I knew vaguely of Zuse, but I'd never heard of Plankallkul before. Very interesting! I think this needs a footnote though. The Wikipedia article points out that it was designed in the 1940s but not actually implemented until the 1990s. –  Charles E. Grant Mar 24 '12 at 18:19
Never even heard of that, thanks for the answer. –  Bugster Mar 24 '12 at 18:24
Wikipedia: " Heinz Rutishauser, one of the founders of ALGOL: The very first attempt to devise an algorithmic language was undertaken in 1948 by K. Zuse. His notation was quite general, but the proposal never attained the consideration it deserved." –  Falcon Mar 24 '12 at 18:24
@Falcon: Zuse designed the language between 1943 and 1945; he didn't publish until 1948. (He lived and worked in Germany, and there were some distractions at the time.) –  Keith Thompson Mar 24 '12 at 18:41
@Keith Thompson: I know. I just wanted to quote the wikipedia article in the comments for further information. –  Falcon Mar 24 '12 at 18:42
show 1 more comment

Knuth, The Early Development of Programming Languages, originally published in Encyclopedia of Computer Science and Technology (1977) and reprinted in Selected Papers on Computer Languages gives information on early languages (including the implementation a small program) and is probably the best accessible source on them.

The earlier he cites is Plankalkül (Zuse, 1945), which wasn't implemented and the describing paper not even published before 1972) thus had little influence.

Then he gives Flow Diagrams (Goldstine and von Neumann, 1946), Composition (Curry, 1948), Short Code (Mauchly et al., 1949), Intermediate PL (Burks, 1950) and some later one.

Sammet, Programming Languages: History and Fundamentals is little concerned by "early languages", but gives a list of about 150 languages from before 1959.

FORTRAN is probably the earliest one still existing and having lot of influence. COBOL, LISP are also still existing and -- for LISP -- a lot of variants and descendants. ALGOL is probably the major influencing programming languages which hasn't evolved in direct line until now -- but it has lot of presence, C being one of its indirect descendant.

share|improve this answer
add comment

If you are willing to go back to the paper and punch cards (since the first programming languages predate the modern computer) the Jacquard loom, invented in 1801, used holes in punched cards to represent sewing loom arm movements. This could be considered the "first" code.

share|improve this answer
Describing a loom as a computer seems like a biiiiiiiiig stretch (notwithstanding that I'm sure some enterprising soul somewhere could prove one Turing complete...) –  AakashM Apr 24 '13 at 7:48
add comment

after assembly type things the first was Fortran created by John Backus at IBM in 1957, Lisp was created in 1957 by John McCarthy at MIT, Cobol came out in '59.

Fortran influenced a bunch of other things and Lisp has influence in pretty much everything.

share|improve this answer
add comment

I would argue that the first language created for a computer was the machine language of Babbage's analytical engine, the first Turing-complete general-purpose computer design.

Although Babbage's machine was never built, Ada Lovelace (actually Augusta Ada King (nee Byron), Countess of Lovelace) is widely credited as the worlds first programmer due to her implementation of an algorithm for generating the sequence of Bernoulli numbers on the analytical engine. What started out as a translation of Luigi Menabrea's article ended up a seminal work in computer science due to her copious notes, which ended up longer than the article she was translating.

In fact, the paper makes fascinating reading even today, I would highly recommend it.

share|improve this answer
add comment

According to this source, FORTRAN in 1954. FORTRAN is still used extensively in science and engineering though the language has been significantly modified.

There is some ambiguity in what is considered a programming language. Assembly might count, since it is an abstraction of the underlying binary codes, and has syntax.

share|improve this answer
add comment

The first "real" language was Assembly, unless you'd consider things like switches or punch cards a programming language.

share|improve this answer
Punch cards aren't a language, they're a storage medium. –  Kyle Hodgson Mar 24 '12 at 18:10
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.