D2 port of Tango

Jordi Sayol g.sayol at yahoo.es
Tue Dec 27 05:30:49 PST 2011


Al 27/12/11 14:04, En/na mta`chrono ha escrit:
> 
> If you start use phobos and tango more intensively, you'll ran into
> different problems.
> 
> Consider this: Cannot implicit convert struct timeval to struct timeval.
> Just because there are two definitions, one in druntime and another in
> tango.
> 
> Sooner or later you'll get crazy. I'm going to remove everything that's
> already present in druntime.
> 
>>
>> import std.stdio;
>> import tango.io.Stdout;
>>
>> void main()
>> {
>>   writeln("hello phobos!");
>>   Stdout("hello tango!").newline;
>> }
>>
>> Properly compiles and run.
>> So, is it not a good idea to join forces to advance more strongly, since pursued the same goal?
>>
>> Best regards,
> 
> 
> Okay, I've also changed a little bit of tango's original api. People
> might dislike this. But it's a little bit more KISS (Keep it small and
> simple).
> 
> tango.utils.container.more.Stack.
> 
> Why not just use
> 
> tango.container.Stack ?
> 
> 

Ok, so if this "tango" will be quite different than the original one, is not a good idea to change its name? Just to make it more "clear" and less "confusing". "Tango2" is enough, I think.

-- 
Jordi Sayol


More information about the Digitalmars-d-announce mailing list