Programar em C/História da linguagem C: diferenças entre revisões

[edição verificada][edição verificada]
Conteúdo apagado Conteúdo adicionado
m Foram revertidas as edições de 201.92.229.212 (disc) para a última versão por 189.107.205.251
Sem resumo de edição
Linha 54:
Em 1954 Fortran, a Formula Translator, foi escrito. Começou como Fortran I em 1956. Fortran veio a ser Algol 58, o Algorithmic Language, em 1958. Algol 58 veio a ser Algol 60 em 1960. Algol 60 veio a ser CPL, o Combined Programming Language, em 1963. CPL veio a ser BCPL, Basic CPL, em 1967. BCPL veio a ser B em 1969. B veio a ser C em 1971.
 
B wasfoi thea firstprimeira languagelíngua inda thelinhagem C lineage directlydiretamente, havingtendo beensido createdcriado atno Bell Labs bypor Ken Thompson. B wasera anuma interpretedlinguagem languageinterpretada, usedutilizada inno earlyinício, internalem versionsversões ofinternas thedo UNIXsistema operatingoperacional systemUNIX. Thompson ande Dennis Ritchie, alsotambém ofda Bell Labs, improved melhorou B, calling it chamando-NB; furthernovas extensionsprorrogações topara NB createdcriaram C, auma compiledlinguagem languagecompilada. MostA maioria ofdos UNIX wasfoi rewrittenreescrito inem NB and thene C, whicho ledque tolevou a moreum sistema portableoperacional operatingmais systemportátil.
 
B wasfoi, ofnaturalmente, courseo namednome afterde BCPL, ande C wasfoi o itsseu logicalsucessor successorlógico.
 
A portabilidade do UNIX foi a razão principal para a popularidade inicial de ambos, UNIX e C; rather than creating a new operating system for each new machine, system programmers could simply write the few system dependent parts required for the machine, and write a C compiler for the new system; and since most of the system utilities were written in C, it simply made sense to also write new utilities in the language.