D2 port of Tango

mta`chrono chrono at mta-international.net
Wed Oct 26 13:25:39 PDT 2011


the reason I love tango is it's design. tango's approach is very c++
like and since I'm a Qt-Fan, I would flavour a d2 version like this:

        tango.io.Device
               +
               +--------------------+--------+--+
               v                    v        |  |
        tango.net.Socket       tango.io.File |  |
               +                    +        |  |
               |                    |        |  v
        +-----------+--------+      | tango.io.ThreadPipe
        v           |        v      |        |
tango.net.TcpSocket | tango.net.UdpSocket    |
        +           |               |        |
        |           v               |        v
        |   tango.net.LocalSocket   | tango.io.BitBucket
        v                           |
tango.net.SslSocket                 v
                             tango.io.Console



tango should use druntime and work with phobos side by side. this one
works fine.


import std.stdio;
import tango.io.Stdout;

void main()
{
     writeln("hello phobos!");
     Stdout("hello tango!").newline;
}





More information about the Digitalmars-d-announce mailing list