View mode: basic / threaded / horizontal-split · Log in · Help
July 13, 2009
Compiler Page - Request for review
I've created a small overview page of the available compilers on Wiki4D. The idea is not to contain much concrete information, but point users in the correct direction. However, for the information that is there I want to make sure that it is correct and clear what is being stated.

Thank you

http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/Compiler
July 13, 2009
Re: Compiler Page - Request for review
Some comments:

dil is not yet able to compile D as far as I know, which is what the page 
suggest ("There are a number of compilers that can be used for D")

The dmd table could suggest that it supports D2 with Tango, I recommend 
formatting it like this:

language version   D1.x           D2.x
runtime library    phobos, tango  phobos
                  
LDC comes with Tango by default, but I assume phobos or at least tangobos 
can be used with it? 

About GDC, iirc the latest (which is quite old) version can be used with a 
version of D, although I don't remember which one.

Perhaps it would be useful to enumerate which OS and arch the various 
compilers support?
July 13, 2009
Re: Compiler Page - Request for review
... 
> About GDC, iirc the latest (which is quite old) version can be used with a
> version of D, although I don't remember which one.

a version of *D2*
July 13, 2009
Re: Compiler Page - Request for review
Jesse Phillips wrote:
> I've created a small overview page of the available compilers on Wiki4D. The idea is not to contain much concrete information, but point users in the correct direction. However, for the information that is there I want to make sure that it is correct and clear what is being stated.
> 
> Thank you
> 
> http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/Compiler

http://docs.google.com/Doc?id=dghphd83_43ffpdbtcc might help with that 
page (although it's slightly out of date now). I find the tables 
slightly confusing, I read that as dmd 2 using tango as its runtime 
library, it'd be nice if it was rearranged slightly (don't ask me how, 
I'm not sure). It would also be good to add a list of supported 
architectures/operating systems to the tables too.
July 13, 2009
Re: Compiler Page - Request for review
Lutger wrote:
> Some comments:
> 
> dil is not yet able to compile D as far as I know, which is what the page 
> suggest ("There are a number of compilers that can be used for D")

That's correct, it's lacking in the semantic analysis required to be a 
complete frontend, and even then it still needs a backend.

> The dmd table could suggest that it supports D2 with Tango, I recommend 
> formatting it like this:
> 
> language version   D1.x           D2.x
> runtime library    phobos, tango  phobos

I agree it needs changing, and that looks like a reasonable layout to me.

> LDC comes with Tango by default, but I assume phobos or at least tangobos 
> can be used with it? 

Phobos does not work with LDC, due to the runtime not being compatible. 
With a few tweaks it should work, but I don't know exactly how much 
effort will be required to get it fully working. As for tangobos, I 
believe it works with LDC, I'm unsure of whether it works with the 
latest versions of tango though. If not you're out of luck for phobos 
with ldc.

> About GDC, iirc the latest (which is quite old) version can be used with a 
> version of D, although I don't remember which one.

I think the latest svn revision is at 1.030 and the latest stable 
release at 1.02x.

> Perhaps it would be useful to enumerate which OS and arch the various 
> compilers support?

Agreed.
July 14, 2009
Re: Compiler Page - Request for review
Robert Clipsham, el 14 de julio a las 00:43 me escribiste:
> Lutger wrote:
> >Some comments: dil is not yet able to compile D as far as I know, which
> >is what the page suggest ("There are a number of compilers that can be
> >used for D")
> 
> That's correct, it's lacking in the semantic analysis required to be
> a complete frontend, and even then it still needs a backend.
> 
> >The dmd table could suggest that it supports D2 with Tango, I recommend
> >formatting it like this: language version   D1.x           D2.x runtime
> >library    phobos, tango  phobos
> 
> I agree it needs changing, and that looks like a reasonable layout to
> me.
> 
> >LDC comes with Tango by default, but I assume phobos or at least
> >tangobos can be used with it? 
> 
> Phobos does not work with LDC, due to the runtime not being compatible.
> With a few tweaks it should work, but I don't know exactly how much
> effort will be required to get it fully working. As for tangobos,
> I believe it works with LDC, I'm unsure of whether it works with the
> latest versions of tango though. If not you're out of luck for phobos
> with ldc.

Last time I checked, Tangobos won't work with LDC because Phobos has
plenty DMD specific version() statements. AFAIK, nobody has worked on
Tangobos since I checked, so I guess you have to be *very* lucky if it
works...

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Oiganmen ñatos de corazón, es más posible que un potus florezca en
primavera a que un ángel pase con una remera.
	-- Peperino Pómoro
July 14, 2009
Re: Compiler Page - Request for review
Jesse Phillips wrote:
> I've created a small overview page of the available compilers on Wiki4D. The idea is not to contain much concrete information, but point users in the correct direction. However, for the information that is there I want to make sure that it is correct and clear what is being stated.
> 
> Thank you
> 
> http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/Compiler

Dil is probably not at a very usable state. Maybe you could divide into 
compilers and other parsers which will also be the location for any 
compilers that cannot yet turn a hello world .d into an executable. Also 
should dang have a spot there too http://dsource.org/projects/dang
July 14, 2009
Re: Compiler Page - Request for review
On Tue, 14 Jul 2009 00:17:52 +0100, Robert Clipsham wrote:

> http://docs.google.com/Doc?id=dghphd83_43ffpdbtcc might help with that
> page (although it's slightly out of date now). I find the tables
> slightly confusing, I read that as dmd 2 using tango as its runtime
> library, it'd be nice if it was rearranged slightly (don't ask me how,
> I'm not sure). It would also be good to add a list of supported
> architectures/operating systems to the tables too.

If the author would like to merge that into the Wiki that would be great. 
FYI to the author the last heading, "I liek D2." need I say more?
July 14, 2009
Re: Compiler Page - Request for review
On Tue, 14 Jul 2009 00:48:56 +0200, Lutger wrote:

> Some comments:
> 
> dil is not yet able to compile D as far as I know, which is what the
> page suggest ("There are a number of compilers that can be used for D")

Good point, I want to include it in the list since it is active and 
attempts to us D.

> 
> The dmd table could suggest that it supports D2 with Tango, I recommend
> formatting it like this:
> 
> language version   D1.x           D2.x runtime library    phobos, tango 
> phobos
>                 

Done
  
> LDC comes with Tango by default, but I assume phobos or at least
> tangobos can be used with it?

This is one of the main reasons for this page. There doesn't seem to be 
any listing of LDC's incompatibility with Phobos.

> About GDC, iirc the latest (which is quite old) version can be used with
> a version of D, although I don't remember which one.
> 
> Perhaps it would be useful to enumerate which OS and arch the various
> compilers support?

This is a good idea, but there is a major issue with doing this. Wiki4D 
does not get updated with the latest information. Once an architecture is 
supported it isn't likely to be rescinded, but if one supported isn't 
listed that can be just as bad. My objective was to point the user to the 
page maintained by the project owner containing the information.

If however Wiki4D has a good number of users that can keep this 
information up-to-date, then yes it should have that information.
July 14, 2009
Re: Compiler Page - Request for review
On Tue, 14 Jul 2009 12:42:53 +1200, Tim Matthews wrote:

> Jesse Phillips wrote:
>> I've created a small overview page of the available compilers on
>> Wiki4D. The idea is not to contain much concrete information, but point
>> users in the correct direction. However, for the information that is
>> there I want to make sure that it is correct and clear what is being
>> stated.
>> 
>> Thank you
>> 
>> http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/
Compiler
> 
> Dil is probably not at a very usable state. Maybe you could divide into
> compilers and other parsers which will also be the location for any
> compilers that cannot yet turn a hello world .d into an executable. Also
> should dang have a spot there too http://dsource.org/projects/dang

I have made appropriate corrections to this. The reason dil was placed on 
the page is because it has had recent changes. If the own of dang feels 
as though he is still active on the project, he is free to add it himself 
(nothing wrong with promoting your own project). If dil's development 
stops, it should be removed from the page unless it can compile D source.
« First   ‹ Prev
1 2
Top | Discussion index | About this forum | D home