www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Backporting Tango runtime enhancements to druntime

reply SiegeLord <none none.com> writes:
I am porting Tango to D2 and while I try my best to use druntime instead of
Tango's runtime, occasionally I find that Tango's runtime has additional
features that other parts of Tango make use of.

The most important of these differences right now is the Thread module. For
example, Tango's version has support for schedulers for its fibers. I really
don't want Tango to lose any features while transferring over to D2, so I'd
prefer for these differences to be backported to druntime. The copyright of
these modules seems to be assigned to the current developers of druntime/users
of D2 (Sean Kelly, Fawzi Mohamed), so in principle licensing should not be an
issue. Before I embark on the quest to make a druntime pull request, I am
wondering if there is interest and willingness to merge those changes in on the
part of the current druntime developers?

Also, if this discussion is best done on the druntime mailing list... can
someone tell me where that mailing list is?

-SiegeLord
Apr 14 2011
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/14/2011 4:15 PM, SiegeLord wrote:
 Also, if this discussion is best done on the druntime mailing list... can
 someone tell me where that mailing list is?
http://lists.puremagic.com/mailman/listinfo/d-runtime
Apr 14 2011
prev sibling parent mta`chrono <chrono mta-international.net> writes:
We could also rewrite tango.core.Thread so that it extends core.thread. 
But keep the old interface/API. Some of the tango special feature might 
be wrapped in this case.

In my mind it's more important that tango.core.Atomic gets deprecated, 
because it doesn't work well on my maschine. I have outcommented nearly 
half of it to get it run at a minimum.


- mta`chrono
Apr 15 2011