A suggestion to D commulity 2

Bill Baxter wbaxter at gmail.com
Wed Sep 17 14:57:01 PDT 2008


On Thu, Sep 18, 2008 at 1:45 AM, Rayne <DiscipleRayne at gmail.com> wrote:
>
> Both libarys are useful, and they both offer different features that could be locked into either libary with a little work. I never said he prefered phobos, but I was making a point, hes stating there should only be one libary for D, as in (drop tango/phobos and go with <insert libary here>.
>
> I don't see why having one libary would be easier, you already have one libary you just get to choose between them, I think it's nice to have an alternate choice of libary.

Rayne, there's a difference between being just another library, and
another D runtime library.  This is not like using STL vs ATL.  You
can mix and match code using those two libraries no problem.  The
issue is that installing Tango requires messing with your _compiler_
configuration.  If you set up your compiler for one runtime library,
currently you cannot link at all with code using  the other runtime
library.

Someone will of course mention that you can using Tangobos.  It's the
best workaround right now, but it's still just yet another layer of
complication.  Also the copy of Phobos inside Tangobos tends to lag
pretty far behind DMD's.  So even that's not perfect.  And I think
Tangobos doesn't work for programs that do a lot of thread wizardry.

--bb



More information about the Digitalmars-d mailing list