Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: August 1, 2025, 6:41 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Complicated AST manipulation looks ugly in C++. How to refactor it?
#15
RE: Complicated AST manipulation looks ugly in C++. How to refactor it?
(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.
Reply



Messages In This Thread
RE: Complicated AST manipulation looks ugly in C++. How to refactor it? - by HappySkeptic - January 27, 2022 at 7:07 pm



Users browsing this thread: 1 Guest(s)