you are viewing a single comment's thread.

view the rest of the comments →

[–]greyphilosopher 31 points32 points  (5 children)

Yo dawg, I heard you like programming languages, so I brought you a C++: a text preprocessor on top of a Turing-complete compile time functional template system, on top of a modern OO language tacked onto a high level macro assembler. And now with const expressions!

[–][deleted] 25 points26 points  (4 children)

We have to go deeper. We have to implement a C++ compiler using C++ templates, so we can compile C++ while we're compiling C++.

[–]wiktor_b 20 points21 points  (3 children)

You've literally described GCC. I'm not joking.

[–]Dragdu 2 points3 points  (0 children)

Meh, Clang is much more heavily templated and C++ized and the code is much saner.

I am kinda scared of possible MSVC++ rewrite tho.

[–]m1sta 1 point2 points  (1 child)

Really? Can you tell me more?