www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: why a part of D community do not want go to D2 ?

reply Sean Kelly <sean invisibleduck.org> writes:
Bernard Helyer Wrote:

 On Wed, 10 Nov 2010 16:26:52 -0500, Sean Kelly wrote:
 Also, I do still feel
 that the druntime SVN shouldn't have to be the repository used for every
 compiler runtime or garbage collector implementation.

I am attempting to write a compiler in D2 (github.com/bhelyer/SDC), and I can't help but feel that rewriting druntime, or picking out the relatively benign parts would be a difficult, bug filled task. I don't see a realistic alternative to druntime compatibility. I also feel that having all implementations share the GC implementation means that improvements there will improve everywhere else. If I weren't to use druntime's GC, then I would use the Boehm collector, but I feel using druntime is more beneficial than not.

I absolutely believe that druntime should be used by D2 compilers. The only issue is staying in sync with the main druntime repository. Perhaps a different VCS would make this easier though. Maybe git? Functionally, all you'd need to do is replace src/object_.d and src/rt/* with your own code, assuming that you didn't want to use the DMD stuff as-is.
Nov 11 2010
parent reply Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, 2010-11-11 at 14:34 -0500, Sean Kelly wrote:
[ . . ]
 I absolutely believe that druntime should be used by D2 compilers.
 The only issue is staying in sync with the main druntime repository.
 Perhaps a different VCS would make this easier though.  Maybe git?
 Functionally, all you'd need to do is replace src/object_.d and
 src/rt/* with your own code, assuming that you didn't want to use the
 DMD stuff as-is.

Using Git is certainly better than using Subversion, but Bazaar and Mercurial are the tools of choice for the discerning developer. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Nov 11 2010
next sibling parent bioinfornatics <bioinfornatics fedoraproject.org> writes:
git is better for managing branch
Nov 11 2010
prev sibling parent klickverbot <see klickverbot.at> writes:
On 11/11/10 8:52 PM, Russel Winder wrote:
 Using Git is certainly better than using Subversion, but Bazaar and
 Mercurial are the tools of choice for the discerning developer.

Oh, so you really want to start that discussion/flamewar again? -.- As you noted yourself in the thread over at d.D.announce, »[…] no-one to date has objective data so all statements on this are opinion«, so could we please leave it at that, at least for the time being?
Nov 11 2010