reddit discussion about Go turns to D again

Matthew Ong ongbp at yahoo.com
Mon May 16 06:13:22 PDT 2011


On 5/15/2011 5:56 PM, Timon Gehr wrote:

>> You are to a certain extent right, but Go is appealing in a few ways.
>>
>> Many Go users are coming from C or scripting languages, so Go is an
>> evolution for them, even if the language is a downgrade from major
>> programming language features.
>>
>> Then many of the developers that are impressed by Go's multicore
>> features, are not aware of the nice libraries available for C++, JVM or
>> .Net.
That is because of the goroutine and channel syntax. I can emulate some 
of the channel syntax using my own wrapper class for from NIO piped.

But the goroutine part is more like java kilim(but without) the nasty 
bytecode postprocessor (a "weaver"),

http://www.malhar.net/sriram/kilim/

Perhaps D can approach this person to make things as interesting but 
keep the dmd process simple like javac.

>>
>> There is the possibility that Go will make it into Android.
>>
>> The web site is always up to date with the latest language specification and
>> they have weekly and stable releases.
>>
>> There not much to say about Go, other than the language looks like a new
>> version of Alef from Plan9 with a bit of Oberon. But Google's backing, plus
>> the way they deal with the community is increasing its use.
>>
>> I wish D would evolve the same way.
>>
>> --
>> Paulo
>
> I think D has difficulties getting new users, although it is superior to any
> programming language I know in almost every way.
>
Yes. D has far more syntax and well above Java & I think even C#.

> Probably the main 'show brakes' for D are:
>
> 1. Lack of documentation. The documentation we have on digitalmars.com/d/2.0 is
> sufficient for me, but it is not up-to-date and it is too complicated for a
> newcomer to get started with. I think many will be turned off by the fact that
> there is no tutorial for newcomers on the main site, but you can get all details
> about some old version of the D grammar. It also stops D from becoming a teaching
> language at institutions. Apart from that, the website does not look half as
> professional as D is well designed. It is not structured at all. If you want to
> learn about what D is about, you have to read the whole website. Also, the
> documentation comments in some Phobos modules should improve, regardless of their
> formatting.
Yes. This part I agrees. As I am a new comer. It seems to me that I need 
to go all over the places within the wiki to figure things out.

Go build a tool to do that automatically.
http://golang.org/cmd/godoc/

With the -http flag, it runs as a web server and presents the 
documentation as a web page.

godoc -http=:6060

 From the browser, you can view the entire build in API. D can also do 
that without a build in server, but the navigation is not as organized 
as javadoc api format.

>
> 2. Someone who is curious about D will google 'd', which takes them straight to
> http://www.digitalmars.com/d/. They will then press the back button on their
> browser, because it does not look appealing. Then they will find the link to
> Wikipedia. If they are really curious, they will read the whole thing, to learn
> that they really can get the official compiler from digitalmars.com they will also
> see very little of D but read everything about "Problems and Controversies". The
> Wikipedia article, in my eyes, fails to give sufficient information about what D
> is about. It only lists features and gives code samples.
>
> They will then go back to http://www.digitalmars.com/d/ , where the most important
> link is not only the most important, but well, the smallest in size as well: 2.0
> After clicking it, you they have to scroll down to find a link to the download
> site, where they need to read the whole table, because there are no OS-symbols
> leading them to the one-click-install. Many will just download the first thing and
> end up with the source and some binaries.
>
> (I have seen it happen multiple times!)
>
> A better process would be: google 'd', get to a totally beautiful website, have
> some display of D philosophy, a big section DOWNLOAD DMD D COMPILER that cannot be
> missed, beneath it there are symbols representing different OS's that can be
> clicked to get the appropriate installer and done. The next thing on the site
> should be a big link D TUTORIAL, linking to a very well written tutorial.
>
> This needs fixing, badly. But it is much work...
>
> 3. The reference compiler is somewhat buggy. But after seeing the changelog for
> 2.053 I am optimistic this will change very soon.
>
>
> Timon


-- 
Matthew Ong
email: ongbp at yahoo.com



More information about the Digitalmars-d mailing list