Hacker News new | ask | show | jobs
by tbirdz 4532 days ago
Just to clarify a bit, C++ and Objective were not written in the C pre-processor, but rather implemented as their own pre-processor program, analogous to Qt's moc.
2 comments

Yes like Cfront [1]. I used that back in the day, the pain of it caused me to rewrite all my C++ in C though :p Call me a coward!

[1] -- http://en.wikipedia.org/wiki/Cfront

> Just to clarify a bit, C++ and Objective were not written in the C pre-processor, but rather implemented as their own pre-processor program, analogous to Qt's moc.

I bet these pre-processor programs were themselves written in C.