Phobos vs Tango! What's your opinion?

Tomas Lindquist Olsen tomas at famolsen.dk
Wed Apr 18 06:38:56 PDT 2007


Bill Baxter wrote:

> Gregor Richards wrote:
>> Bradley Smith wrote:
>>> Dan wrote:
>>>> Fortunately, we have both libraries available for D, and I think the
>>>> duality is definitely conducive to the language's development.  I can
>>>> also say that it hasn't been a problem by virtue of the fact that a
>>>> program may use *either* library *or* both according to your
>>>> preferences.
>>>
>>> Both? How do you use both Phobos and Tango in one program? I thought
>>> they were incompatible.
>> 
>> At their core, they are incompatible, because their implementations of
>> Object and such are incompatible.
>> 
>> There is an almost-existent library, tangobos, that allows most Phobos
>> software to compile over Tango. I'm going to get that released properly
>> Any Day Now [tm]. (It exists, but I'm very busy today, don't have time
>> to do everything)
>> 
>>  - Gregor Richards
> 
> Tangobos will be great.  Can't wait.
> How are you going to deal with toString/toUtf8?
> 
> --bb

If you look at the tango object.di, there is a version(PhobosCompatibility)
block which aliases toUTF8->toString



More information about the Digitalmars-d mailing list