Re: Compiler paradoxes

From: Mike Swaim (mpswaim_at_mdanderson.org)
Date: 10/08/03


Date: Wed, 8 Oct 2003 15:34:13 -0500


"Ronald McDonald" <ldinters@yahoo.com> wrote in message
news:3f8466da@newsgroups.borland.com...
> So, if the compiler was written in Borland C++, what was C++ written in?

  The first implementations of C++ compiled to C. (And I think that you can
still buy the CFront compiler.) Interestingly, if you choose to compile a
PowerBuilder application to machine code (instead of P-Code), it compiles to
C, and then to machine code.

  The first implementation of C was in assembler on a PDP machine.

--
Mike Swaim swaim@hal-pc.org at home
mpswaim@mdanderson.org or mswaim@odin.mdacc.tmc.edu at work
Disclaimer: Yeah, like I speak for MD Anderson.
Quote: "Boingie"^4 Y,W & D


Relevant Pages

  • Re: VB Com compatibility
    ... C/C++ components are generally going to be faster, ... |> interpreted) while VC is compiled directly to machine code. ... | compiled to native code as well as P-Code. ... | "Visual Basic 5 uses the same compiler technology as Visual C++" ...
    (microsoft.public.vb.com)
  • Re: How do I dig a memory value out?
    ... The only C compiler I could find at the time was ... The Atari keyboard was missing several characters, ... higher level language plus a few common data types ... hand tweeked machine code was entered directly in the ...
    (microsoft.public.vb.general.discussion)
  • Re: OpenGL 4.1 is out
    ... if it didn't support it's own older instruction sets... ... complexity as possible gets pushed onto the compiler. ... Portability is provided by GLSL. ... machine code at run time, if only to placate management types who think ...
    (comp.graphics.api.opengl)
  • Re: Which Endian routine is better?
    ... I would agree that if you are calling a declared function which ends up executing a block of machine code which is essentially the same as the machine code that the VB compiler comes up with then the VB compiled code would be faster because it does not have the call overhead of the function. ... It all depends on how much of a speed advantage the hand crafted machine code has over the VB compiled machine code and on how much of that advantage is wiped out by the overhead of a call to a standard declared DLL function. ...
    (microsoft.public.vb.general.discussion)
  • Re: Basic compiler
    ... stand-alone executables in machine code were the "Einstein Compiler" ... and Microsoft's TASC (The AppleSoft Compiler). ...
    (comp.sys.apple2)