druntime

Steven Schveighoffer schveiguy at yahoo.com
Fri Jan 16 09:44:36 PST 2009


"Hoenir" wrote
> Steven Schveighoffer schrieb:
>>> Yeah, officially. But there also is a D1 branch of druntime and there 
>>> are even build instructions for 1.x.
>>>
>>> So why don't they port tango to that D1 version of druntime?
>>
>> What is the need?  The very purpose of having druntime in the first place 
>> is to have Tango and Phobos share a common runtime.  If Tango is ported 
>> to druntime, then Phobos is *still* not compatible because Phobos 1 does 
>> not use it.
>>
>
> That's why one needs to rebuild phobos as the guideline states: 
> http://www.dsource.org/projects/druntime/wiki/GettingStarted

That guideline is for D2 phobos only.  D1 phobos would need to be rewritten 
to use the new runtime, which as far as I know has not been done. (Sean, 
there probably should be a note stating this, as the doc is slightly 
ambiguous).

>> Tango's runtime is pretty much exactly like druntime anyways, since 
>> druntime is a port of Tango's runtime.
>>
>> The only need I forsee is if the druntime 1.0 branch gets some 
>> enhancements that Tango needs to use.
>>
>> Once Tango for D2 is finished (being worked on, albeit very slowly), then 
>> druntime comes into play.
>>
>
> Any clues when this will be finished?

When I get some more free time :(  There is a branch that currently builds 
on Linux with dmd 2.019 (I haven't touched druntime yet, because I was 
waiting for it to stabilize).  There have been many significant changes to 
the trunk since that was done, including a major io reorg, so you'd be still 
dealing with the old source (and possibly old bugs).

-Steve 




More information about the Digitalmars-d-learn mailing list