Standard Library Concerns (Phobos / Tango)

Jesse Phillips jessekphillips at gmail.com
Thu Feb 7 16:06:40 PST 2008


On Thu, 07 Feb 2008 00:42:42 -0500, Dan wrote:

> Jesse Phillips Wrote:
>> I agree that Tango isn't able to keep up with the rapid changes in D2
>> or D3? But, in my opinion I don't think it has to in order to be called
>> the standard library. D2 has not been released, it has no obligation to
>> provide the same environment as D1.
> 
> Yes, but D1 is stable.  I have program Y that assumes Phobos is the
> standard library.  As long as stable compilers are released when Phobos
> is the standard library, those stable D versions will have to stay with
> Phobos.
> 
> If you guys want Tango to be the standard library, ship it with the dev
> compiler.
> 
>>The only ones that aren't looking at switching seem to be the
>> dead projects.
> 
> I found that mildly offensive.  I use Phobos because it's more suited to
> my needs [read: better for me].  The reasons I prefer Phobos are:
> 
> 1) I know what it does
> 2) I understand it's conventions
> 
> The *only* reason I'd consider switching to tango is if the compiled
> algorithms were *noticeably* faster, or tango offered some feature that
> I didn't want to spend time figuring out how to implement myself.  I
> learn things for the purpose of understanding how they work, but if the
> algorithm is more or less the same, I don't care.
> 
> I don't like OO things.  They're opague.  I don't understand what they
> do inside.
> 
> Regards,
> Dan

I'd like to give my own response to this. As I stated before I agree that 
D1 should remain the same. I don't see any reason not to place the Tango/
DMD download on the same page. And I said Tango should take over for D2.

I don't have a quarrel with your chosen style of coding, however it 
sounds as though your reasons are because you do not want to learn a new 
style. This is fine too, but it is not a reason to prevent the switch of 
a standard library. Besides, after having talked with Kris, I believe, he 
says that the object/function ratio of Phobos vs Tango is about the same.

Lastly I don't think you should be offended. I love the C feeling of 
Phobos, I still have yet to really use Tango (reading the book now) I've 
been around since '06. My statements where based on the trends I have 
observed. There are projects that are still developed under Phobos, but 
most of the highly active/highly used projects switch/support both.



More information about the Digitalmars-d mailing list