Tango compatability with Phobos

Kris foo at bar.com
Sun Oct 14 11:59:45 PDT 2007


>From all the threads so far, this is what I've surmised:

For those people who need to run Tango-based and phobos-based code 
side-by-side, it appears to be fine that the higher-level elements are 
different. As long as the principal modules of both operate happily on some 
common runtime package, then it's cool.

Based on that assertion, we'll make some changes and get it working. If the 
assertion is not correct, then please say so ...

- Kris



"Charles D Hixson" <charleshixsn at earthlink.net> wrote in message
> I don't feel that one needs to be able to use both libraries in the same 
> module, but when linking modules together it is important that it not 
> matter that they have been compiled with the same library.
>
> I.e., if I get library A from one source and library B from another 
> source, I should expect to be able to link both into my program...and it 
> shouldn't matter whether I'm using Phobos or Tango, or which the libraries 
> used, except insofar as dependencies that need to be satisfied.
>
> For that matter, if one file is opened with one library, I don't insist 
> that the other library be able to operate on it without closing and 
> reopening it.  (EXCEPTION:  stdin, stdout, and stderr should be dealt with 
> using methods that are compatible and allow interleaving...though this 
> might be allowed to affect the order of line transmission on a 
> line-by-line basis.) 





More information about the Digitalmars-d mailing list