standard library vs standard interfaces

Hasan Aljudy hasan.aljudy at gmail.com
Sun Jan 21 13:07:40 PST 2007



Serg Kovrov wrote:
> Hasan Aljudy wrote:
>> My impressions is, the interface of the current standard library 
>> (phobos) IS the standard interface.
> 
> For example, for file operations I usually use (that is, my 
> methods/classes expects) strings (filename) and std.stream.Stream 
> interface. Thankfully we do not need any interface for string 
> operations, but for streams we do.
> 
> Ares seems uses FILE* handle for that purpose. So, to switch to, or even 
> to use part of Ares I have to rewrite some of my code.
> 
> Have no idea about Tango, but I'd be surprised if it implements std.* 
> interfaces...
> 

According to my last char with them on their irc (about 3 weeks ago), 
Tango doesn't conform to Phobos' interface; which is really unfortunate IMO.



More information about the Digitalmars-d mailing list