4 ms·
Point me to a compiler or interpreter, any of them, that isn't either written in C or written in something that was written in C. And of course, whatever you pl
by beat 8y ago
Point me to a compiler or interpreter, any of them, that isn't either written in C or written in something that was written in C. And of course, whatever you play with, it's running on an operating system written in C.
If programming is turtles all the way down, C is the bottom turtle, standing on the solid ground of Von Neumann architecture.
The point is, C is utterly pervasive. Everything that we think is different from C is made from C.
- dragonwriter 8y ago> Point me to a compiler or interpreter, any of them, that isn't either written in C or written in something that was written in C. Plenty of languages have self-hosting compilers or interpreters available, which are neither written in C nor written in something written in C. https://en.m.wikipedia.org/wiki/Bootstrapping_(compilers)#List_of_languages_having_self-hosting_compilers https://en.m.wikipedia.org/wiki/Bootstrapping_(compilers)#Li... I'm also pretty sure that some are written in C++, whose implementations are usually also written in C++, and which (while closely related to C) is not C. > And of course, whatever you play with, it's running on an operating system written in C. That's obviously not the case if what you are playing with is an OS written in not-C. It's actually not entirely true in plenty of cases, because operating systems that use C range from almost-entirely C (with some assembly) to C-among-other-things (e.g., z/OS and it's mix of PL/X, HLASM, and C/C++.) > If programming is turtles all the way down, C is the bottom turtle I’m pretty sure the bottom turtle is native machine code and/or processor microcode.
- skykooler 8y agoGo is written in Go, which is why you need it installed in the first place before you can run the go compiler.
- icedchai 8y agoExcept for versions before 1.5, which were written in C.
- lloeki 8y agoSpoiler: I hear the first C compilers were probably not written in C, until they were.
- deleted 8y ago[deleted]
- voltagex_ 8y agoBootstrapping problems are interesting/frustrating, especially if you're trying to get a new package into Debian. If you wanted to build Go from source, what would you build first? What version(s)? Edit: the documentation is outstanding - https://golang.org/doc/install/source#go14 https://golang.org/doc/install/source#go14
- BeeOnRope 8y agoclang, among the most popular C compilers, is itself not written in C, but rather C++.
- mscasts 8y agoThe very first C compiler wasn't written in C though.