The Death of D. (Was Tango vs Phobos)

Sean Kelly sean at invisibleduck.org
Thu Aug 14 22:41:44 PDT 2008


Koroskin Denis wrote:
> On Fri, 15 Aug 2008 09:29:31 +0400, Sean Kelly <sean at invisibleduck.org> 
> wrote:
> 
>> Walter Bright wrote:
>>> Sean Kelly wrote:
>>>>> What specifically I'd like from the Tango team is explicit 
>>>>> permission for the Phobos team to go over the Tango code and be 
>>>>> able to copy/use whatever portions of it are necessary to get the 
>>>>> two libraries to have a compatible core, and to relicense those 
>>>>> parts under the corresponding Phobos license.
>>>>
>>>> I think this is arguably a reasonable first step, but working 
>>>> towards a compatible core still means two separate cores, which 
>>>> means not being able to use Tango and Phobos together in the same 
>>>> app.  So I'll admit to not completely understanding the reasoning 
>>>> behind this approach, but it's the only option so I'm happy to 
>>>> comply.  Frankly, I don't want to be stuck maintaining the Tango 
>>>> runtime from now until doomsday anyway :-)
>>>  If the cores are compatible at the API level, then one should be 
>>> able to mix and match Tango/Phobos user level modules.
>>
>> I think it will turn out to be more complicated than that.  The 
>> runtime contains user-visible code as well as the compiler support 
>> code and GC: exception definitions, the thread code, etc.  And Phobos 
>> vs. Tango have different exception hierarchies, at the very least.
> 
> Isn't it part of a runtime, i.e. something that is about to be unified?

But this is more than just duplicating functionality.  If the user wants 
to create a thread, what module does he import?  Having compatible 
runtimes isn't quite the same has sharing a single common runtime.


Sean



More information about the Digitalmars-d mailing list