Brief report about the Tango Conference 2008 in Torun

Alexander Pánek alexander.panek at brainsware.org
Fri Oct 3 15:30:16 PDT 2008


Andrei Alexandrescu wrote:
> Jason House wrote:
>> Sean Kelly Wrote:
>>
>>> Alexander Pánek wrote:
>>>> Sean Kelly wrote:
>>>>> Alexander Panek wrote:
>>>>>> bearophile wrote:
>>>>>>> From:
>>>>>>>> regarding a common runtime for Phobos and Tango,<
>>>>>>> Can you give a little summary of this?
>>>>>> Well, there’s a project on dsource (druntime: 
>>>>>> http://dsource.org/projects/druntime) which is supposed to
>>>>>> hold that common runtime.
>>>>> I just thought I'd mention that if anyone wants to play with this, 
>>>>> the runtime is fully functional and there are versions available 
>>>>> for both D 1.0 and D 2.0 (in a branch and trunk, respectively).  
>>>>> Assuming everything works out however, I expect
>>>>> that only Phobos for D 2.0 will actually use the common
>>>>> runtime, since D 1.0 is in maintenance mode now.
>>>> Ah, good to know. What are the differences between druntime and
>>>> Tango’s runtime? What about the features Tango has but Phobos
>>>> doesn’t?
>>> The location of things have changed and certain bits have been
>>> tightened up a bit compared to Tango, but the functionality should
>>> be identical to Tango's runtime.  With that in mind, if you want to
>>> try it out, build druntime and replace tango-base-dmd.lib with
>>> druntime-dmd.lib, get rid of the .di files in tango/core that are
>>> generated by the lib build process, and use the top-level memory,
>>> thread, etc, modules in their place.
>>>
>>> The project is really just a proof of concept at this point.  I've
>>> got a version of Phobos for D 2.0 working on top of druntime with
>>> no problems, for example, but there is no official support yet for
>>> druntime from Phobos or Tango.
>>>
>>> In short, druntime works just fine, but to actually use it right
>>> now you're pretty much on your own.  I'll be happy to answer any
>>> questions regarding setup, but don't have any plans yet for
>>> installation scripts, packaging, etc.
>>>
>>> By the way, DMD is the only supported compiler at the moment.  I'll
>>> add support for the others later if the project actually takes off.
>>>
>>>
>>>
>>> Sean
>>
>> What has been done to coordinate with Walter and/or the Phobos
>> development team? Does the license match Walter's requirement? Are
>> there any known reasons why D2 would not want to adopt this runtime?
> 
> D2 will in all likelihood adopt Sean's runtime. We only need to put in 
> the adaptation work. I think Sean has done a tremendous contribution to 
> the community.

Any thoughts on using druntime in D1?


More information about the Digitalmars-d-announce mailing list