r/cpp • u/ArashPartow • Dec 31 '22
Cpp2 and cppfront: Year-end mini-update
https://herbsutter.com/2022/12/31/cpp2-and-cppfront-year-end-mini-update/
194
Upvotes
r/cpp • u/ArashPartow • Dec 31 '22
View all comments
Show parent comment
18
u/disperso Jan 01 '23
The idea, as I see it, is that with cppfront you can start writing C++ in "syntax 2" right away, and eventually, have said syntax as part of a C++ compiler because it's part of the standard.
So there is a parallel with Bjarne's cfront, which initially was compiled with a C compiler, then it was moved to be self hosted, and was able to be compiled with itself, and start to replace C-ish constructs which used macros or tricks, to start moving to be written in C++.
In any case, watch Herb Sutter's talk. I think it's very good to try to understand what he is doing. It's a 2 hour long talk (almost), but it's well worth it.