DeVault: Announcing the Hare programming language
DeVault: Announcing the Hare programming language
Posted May 3, 2022 18:24 UTC (Tue) by mathstuf (subscriber, #69389)In reply to: DeVault: Announcing the Hare programming language by Wol
Parent article: DeVault: Announcing the Hare programming language
And when this is stamped out code from a macro or template instantiation, should it also not be removed? What a silly optimization to leave on the cutting room floor. Compilers could probably better track this stuff to know the difference between macros and template code, but it doesn't seem to be high on the priority list right now.
Posted May 4, 2022 15:01 UTC (Wed)
by khim (subscriber, #9252)
[Link]
It's not high on the priority list because people just couldn't agree on what things should be retained and which shouldn't be retained. Without clear, consistent rules there are nothing to discuss. No matter what the compiler does or doesn't do there would always be someone who would claim it's wrong behavior.
> Compilers could probably better track this stuff to know the difference between macros and template code, but it doesn't seem to be high on the priority list right now.
DeVault: Announcing the Hare programming language