Unix and C

Rahul Dhesi dhesi%cirrusl at oliveb.ATC.olivetti.com
Mon Nov 12 19:31:47 AEST 1990


>Yes ... Why and how can UNIX be written in C?  I'd also like to know.

Given that one can write vi macros that create a Turing machine, it
should be possible to rewrite UNIX in vi.  Once you have UNIX in vi
(complete with all utilities), you can write the C compiler afresh, and
then write UNIX using that C compiler.  Once you have done so, you
won't need the vi macros any more, so you can then go back to using
Emacs using which it is not possible to write UNIX (because Emacs takes
up all memory, so there's none left for UNIX).

The significance of the above is left as an exercise for the reader.
--
Rahul Dhesi <dhesi%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.lang.c mailing list