standard library vs standard interfaces

Serg Kovrov kovrov at no.spam
Sun Jan 21 03:56:07 PST 2007


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...

-- 
serg.



More information about the Digitalmars-d mailing list