any tool to at least partially convert C++ to D (htod for source

Walter Bright newshound1 at digitalmars.com
Tue Mar 9 18:17:55 PST 2010


Ellery Newcomer wrote:
> On 03/09/2010 06:15 PM, Walter Bright wrote:
>> Ellery Newcomer wrote:
>>> I hate the restriction on modules with static constructors and cyclic
>>> dependencies. IMO it's the most patronizing 'feature' D has.
>>
>> I understand, but the alternative is the essentially random order of
>> execution that C++ has.
> 
> Would you contend that the alternative that I showed above is not random 
> order?

Doesn't look random to me.

By "random" I mean it is implementation-defined, and in practice it 
depends on the order the linker assembles things in, which is not at all 
easily controlled.



More information about the Digitalmars-d mailing list