Re: linux headers and C++

Horst von Brand (vonbrand@inf.utfsm.cl)
Tue, 06 Jul 1999 12:27:49 -0400


Alan Cox <alan@lxorguk.ukuu.org.uk> said:

[...]

> C++ is a preprocessor, nothing more. Check how the original C++ compiler was
> implemented.

As Bjarne Stroustrup himself has said time and again: cfront (the first C++
compiler) was a true compiler, that generated C as object code purely for
portability. No preprocessor like f.ex. RATFOR, which just translated a bit
of the input (control structures, mostly) and let the rest pass untouched.

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/