Comment by batisteo

3 days ago

C was designed as a high level language and stayed so for decades

> C was designed as a high level language and stayed so for decades

C was designed as a "high level language" relative to the assembly languages available at the time and effectively became a portable version of same in short order. This is quite different to other "high level languages" at the time, such as FORTRAN, COBOL, LISP, etc.

  • When C was invented, K&R C, it was hardly lower level than other systems programming languages that predated it, since JOVIAL in 1958.

    It didn't not even had compiler intrisics, a concept introduced by ESPOL in 1961, allowing to program Burroughs systems without using an external Assembler.

    K&R C was high level enough that many of the CPU features people think about nowadays when using compiler extensions, as they are not present in the ISO C standard, had to be written as external Assembly code, the support for inline Assembly came later.