Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That old chestnut. C is nothing remotely like an assembly language, of any kind. It is a low-level programming language, but only compared to most languages. Disassemble some compiled C code sometime -- it's another world entirely.


I’ve programmed in both assembly and C, among other things. I stand by it, C is much closer to the machine than most languages.


I think Lisp won that battle. The core syntax was named after actual cpu registers (cdr/car).


Seriously? :)

Is lambda calculus or the PDP instructions set a closer match to which language?


C may not be the same as assembly language but the value of learning it is that in general it is the lowest level that we get to for most software. So, most programming languages are either compiled to C or have a virtual machine that is written in C. Many of the things our programs rely on are written in C, for example operating systems and databases. So in a way we can say that "the metal" is C and by understanding it we can potentially understand how our software works from top to bottom.


Maybe it is on a PDP-11 . . .




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: