Re:re: Windows XP
Ben:
Quote
One of the tips of the day in VC++ claims "We use it
before you do - Visual C++ was written using Visual C++."
How??!!
I haven't actually seen that tip myself, but many compilers are frequently
written in the language they are intended to compile, so this isn't
uncommon. Your confusion probably stems from a characterization of this fact
as a sort of chicken-and-egg paradox -- i.e., how is it possible to write
the compiler for a language for which a compiler doesn't already exist? The
answer is that all the information to make any program in the language is
already "wrapped up" inside the language itself.
Computer language designers need to use language in order to express the
processes by which their languages work -- sometimes even the same one, like
in the case of Visual C++ written in Visual C++. Languages that can
accomplish this feat are "Turing-complete"; they can describe themselves.
Most intermediate discrete mathematics textbooks cover Turing-completeness,
which is admittedly a potentially confusing topic and far too broad for a
single newsgroup post. =)
Hope that helps.
- JJ
-