www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - PyD

reply Russel Winder <russel winder.org.uk> writes:
Given that there is non-zero interest in using D to create extensions
for CPython, I wonder if it would be beneficial to spend a little time
updating all the pages on dsource to point at what is clearly the
mainline which is on mercurial.

I wonder if it might be useful to ensure that SCons can be used as
well / instead of CeleriD to compile the D code into a suitable form to
be a CPython extensions?

--=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 winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
May 14 2013
next sibling parent 1100110 <1100110 gmail.com> writes:
On 05/14/2013 10:05 AM, Russel Winder wrote:
 Given that there is non-zero interest in using D to create extensions
 for CPython, I wonder if it would be beneficial to spend a little time
 updating all the pages on dsource to point at what is clearly the
 mainline which is on mercurial.
 
 I wonder if it might be useful to ensure that SCons can be used as
 well / instead of CeleriD to compile the D code into a suitable form to
 be a CPython extensions?
 
Last I heard (long time ago) was that the owner of dsource had gone AWOL for a while. So we couldn't update the site to explain that most D projects had moved elsewhere. But that is all hearsay based on my terrible memory. Destroy?
May 14 2013
prev sibling parent reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
On 05/14/2013 08:05 AM, Russel Winder wrote:
 I wonder if it might be useful to ensure that SCons can be used as
 well / instead of CeleriD to compile the D code into a suitable form to
 be a CPython extensions?
Mmph. I've tried several build systems with pyd, and at the end of the day, it only makes it that more difficult to set up a vm for testing, hence CeleriD. If people think it would be beneficial, we can totally do it, though. btw what's the status with SCons and D? I vaguely remember it was being all anal about not using dmd from the user's search path..
May 14 2013
parent Russel Winder <russel winder.org.uk> writes:
On Tue, 2013-05-14 at 19:32 -0700, Ellery Newcomer wrote:
[=E2=80=A6]
 Mmph. I've tried several build systems with pyd, and at the end of the=
=20
 day, it only makes it that more difficult to set up a vm for testing,=20
 hence CeleriD.
OK, I will investigate more, thanks.
 If people think it would be beneficial, we can totally do it, though.
=20
 btw what's the status with SCons and D? I vaguely remember it was being=
=20
 all anal about not using dmd from the user's search path..
Currently there is a fork of SCons specifically designed for the evolution of the D tooling. https://bitbucket.org/russel/scons_d_tooling Yes it is owned and operated by me, but then you knew this as you forked it :-) (*) I gave up trying to keep the tools separate from SCons core as the D tooling was already quasi integrated. What is there works and allows for D, C, C++ inter-working. However, the compilation model is C and C++ oriented whereas D looks to a more "compile all the source with one command line" based approach =E2=80=93 as does Chapel. I ran out of time to get this in p= lace so this is all still "work in progress". This has not yet been integrated into the SCons core as it should have been. It all needs more work, more hands, and definitely some of that needs to be Windows-based. As far as I am aware all the searching for a D compiler works as it should on Debian Unstable and OSX. All other platforms are untried. (*) and your version comes way before mine in Google searches which is really annoying ;-) --=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 winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
May 15 2013