The Death of D. (Was Tango vs Phobos)

Sean Kelly sean at invisibleduck.org
Fri Aug 15 12:09:18 PDT 2008


Robert Fraser wrote:
> Sean Kelly wrote:
>>> I propose these essential classes and modules be moved into a 
>>> separate package, like std.runtime.  So you would have 
>>> std.runtime.thread, std.runtime.exception, etc.  Or whatever.  Then 
>>> the line is even clearer.
>>
>> See above.  That would be fine except for the confusion it would cause 
>> for readers of our book.  Also, maintenance responsibility is a 
>> potential issue.  None of these issues are addressed by a simple 
>> desire to share code.
>>
>>
>> Sean
> 
> I suppose the magic of aliases and templates couldn't help at all here 
> (i.e. make tango.Thread a compile-time wrapper around std.runtime.thread 
> ...?)

Currently, it's the opposite with Tango/Tangobos (std.thread.Thread 
basically aliases tango.core.Thread.Thread).  But I consider this to be 
too much of a hack to have as a long-term solution.


Sean



More information about the Digitalmars-d mailing list