RE: Complicated AST manipulation looks ugly in C++. How to refactor it?
January 27, 2022 at 7:07 pm
(January 27, 2022 at 5:58 pm)Angrboda Wrote: It's a matter of trade-offs. Hand-optimizing C is a lot more effective than trying to optimize object-based code. Time is money with compliers.
I doubt Flat is going to be selling his compiler any time soon, and he is porting from another language.
C++ can be just as fast as C, if you are careful, and if you aren't careful, you probably don't know how to write C-code that won't blow up or leak.