D : dmd vs gdc : which one to choose?
How do I (a newbie to D) figure out which compiler set to use? I am running Ubuntu 14.10, and intend to stick with it in the long term. Should I choose DMD or go with GDC? I would like to know the rationale for suggestions for either. Thanks.
Re: D : dmd vs gdc : which one to choose?
On Thursday, 19 February 2015 at 09:10:16 UTC, Rikki Cattermole wrote: On 19/02/2015 9:46 p.m., Mayuresh Kathe wrote: How do I (a newbie to D) figure out which compiler set to use? I am running Ubuntu 14.10, and intend to stick with it in the long term. Should I choose DMD or go with GDC? I would like to know the rationale for suggestions for either. Thanks. Atleast while learning stick with dmd. It is the reference compiler. There are far more developers involved in its production then GDC. And anyway, GDC is still hasn't been updated to the latest version of D. And its the last major D compiler that hasn't. There is a D-apt repository, which will interest you. http://d-apt.sourceforge.net/ I thank you for your response, and thank you for that link. I installed the dmd_2.066.1-0_amd64.deb from the dlang.org website, though. :) Figured it best to stick with the official DMD as I am working through The D Programming Language.
Learning D for a non computer science background person : pre-requisite knowledge?
While I have been a programmer for close to 23 years, it's been mostly API level code cobbling work. Would like to learn D, but am a bit intimidated by the fact that I don't have much of a grasp over the foundational stuff (discrete mathematics, machine organization, etc.) and hence am preparing for the same. Would like to know if there be anything else I should work through before approaching D via Mr. Alexandrescu's book. Thanks.
Re: Learning D for a non computer science background person : pre-requisite knowledge?
On Tuesday, 2 December 2014 at 16:54:50 UTC, CraigDillabaugh wrote: On Tuesday, 2 December 2014 at 16:38:34 UTC, Mayuresh Kathe wrote: While I have been a programmer for close to 23 years, it's been mostly API level code cobbling work. Would like to learn D, but am a bit intimidated by the fact that I don't have much of a grasp over the foundational stuff (discrete mathematics, machine organization, etc.) and hence am preparing for the same. Would like to know if there be anything else I should work through before approaching D via Mr. Alexandrescu's book. Thanks. If you have been programming for 23 years there is absolutely no reason why you should struggle with D due to your lack of discrete math, machine organization knowledge, etc. You certainly shouldn't have any trouble following Andrei's book, which is very easy to follow, although having some discrete math is helpful in keeping up with some of his forum posts :o) Welcome to the D world! Thanks for the welcome. :) I think I'll just work through Discrete Mathematics and Machine Organization before approaching Mr. Alexandrescu's book, would take up only 6 ~ 8 months of my time, and would be really good for me in the long term.
Re: Learning D for a non computer science background person : pre-requisite knowledge?
On Tuesday, 2 December 2014 at 17:10:57 UTC, Tobias Pankrath wrote: Thanks for the welcome. :) I think I'll just work through Discrete Mathematics and Machine Organization before approaching Mr. Alexandrescu's book, would take up only 6 ~ 8 months of my time, and would be really good for me in the long term. No! If you know how to program and want to learn D, start reading Andrei's book now. Any discrete math class is only a distraction. Read up on discrete math in parallel or if the need arises. Okay, if that is the case, I'll dive into Mr. Alexandrescu's book as soon as I get my copy. BTW, how come all of you address him as Andrei? Is this group that informal? Asking, just so that I don't become the odd man. :)
Re: Learning D for a non computer science background person : pre-requisite knowledge?
On Tuesday, 2 December 2014 at 17:33:18 UTC, Gary Willoughby wrote: On Tuesday, 2 December 2014 at 17:15:28 UTC, Mayuresh Kathe wrote: Okay, if that is the case, I'll dive into Mr. Alexandrescu's book as soon as I get my copy. No need to wait that long. I second H.S. Teoh's suggestion to recommend reading this book too: http://ddili.org/ders/d.en/intro.html It's free, downloadable and right up to date. Yes, prima-facie it definitely looks good. Will start off with it while I await delivery of Andrei's book to my location.