(no title)
sfpotter | 2 months ago
I used to very down on C++ but have stopped caring quite so much... Just using C++ and restricting oneself to templates seems like a better bet than this. Or you could use D and have a language whose template experience is much better than C++'s...
Any language this is going to need debug info eventually. One could step through the generated C code, but this is much less pleasant than stepping through the original source.
I also wonder how name mangling is handled?
masot|2 months ago
But yes --- for a real project I would absolutely recommend someone use D over this !
[1] https://github.com/rui314/chibicc
sfpotter|2 months ago