[OT] Generative C++

Moritz Maxeiner via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 1 15:21:59 PDT 2017


On Tuesday, 1 August 2017 at 22:11:47 UTC, Stefan Koch wrote:
> On Tuesday, 1 August 2017 at 22:06:28 UTC, Walter Bright wrote:
>> On 7/31/2017 5:41 AM, Joakim wrote:
>>> If he's right that C++ use is so balkanized, this will 
>>> simplify some code but further balkanize the language.  That 
>>> might be worth it for them, but rather than simplifying the 
>>> language, it makes it more powerful and more complex, heading 
>>> higher up into the hills rather than the lower ground he 
>>> claims to be heading for.
>>
>> I can't say I understand the proposal, but if it is similar to 
>> AST macros, my argument against that is well known and similar 
>> to yours.
>
> It's basically a restricted form of AST-Macros.
> Not as aweful as it could have been but still quite complex and 
> I have no idea how one would implement that efficiently.

Luckily they don't need to: Since when was C++ compilation ever 
efficient?


More information about the Digitalmars-d mailing list