Re: D-Day for DMD is today!
Am Fri, 28 Aug 2015 11:21:52 +1000 schrieb Daniel Murphy yebbliesnos...@gmail.com: Bruno Medeiros wrote in message news:mrn30f$26ff$2...@digitalmars.com... Cool stuff! Yeah! What's the plan going forward, for those not so much up to date with what's going on? Is the next major release of DMD gonna be D-DMD based then? Which compiler is going to be used to compile D-DMD? The next major release (2.069) will use the D-based frontend. We're planning to use GDC and/or LDC releases based on the 2.067 frontend to compile DMD on most platforms. Current GDC master can compile DDMD, although it uses the 2.066.1 frontend. Iain backported the relevant C++ mangle changes: https://github.com/D-Programming-Language/dmd/pull/4957
Re: Functional Programming with D
On Sunday, 14 April 2013 at 15:27:29 UTC, Ali Çehreli wrote: On 04/13/2013 11:35 PM, qznc wrote: [...] talking about [...] // in D [...] is similar to [...] foo(const int * [...] const ref d); [...] immutable.) The C variant is an mutable pointer to an immutable int. What is not to know about that? What foo() does not know is whether the original int is const or not: int i = 0; foo(i); // Can be mutated by the caller later on i = 1; For that reason, function foo() cannot store the pointer 'c' in confidence that it will not change in the future. Of course you and the dlang.org link that you have provided indicate that immutable is not the same as const. When you say You can qualify variables as immutable, which is similiar to C's const and Java's final, but it is transitive, it sounds like the main difference that brings 'immutable' is transitivity but I think the fact that data cannot be mutated is the main difference. That makes it possible for a function to request immutable data, something not possible in C because a const reference parameter is not a requirement but a promise not to mutate. And of course you never say they are the same; you say similar. Nothing is wrong with that. :) Ali This is excellent information on functional programming with D. I would love to see a lot more information in this area - perhaps a much longer article covering in more detail - and also covering what is missing - e.g. does D have a for comprehension, Option, Either etc
reddit - pls help answer lang qns etc
On Friday, 28 August 2015 at 05:33:41 UTC, Laeeth Isharc wrote: On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. [...] I hope you don't mind, but I guess it is public info now, and news has a greater impact when fresh: https://www.reddit.com/r/programming/comments/3ioy9b/andrei_alexandrescu_c_guru_leaves_facebook_tl It's blowing up on reddit so please chip in to answer questions about the language if you have time.
Re: D-Day for DMD is today!
On 28 August 2015 at 11:15, Daniel Murphy via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Johannes Pfau wrote in message news:mrp3m1$184s$1...@digitalmars.com... Current GDC master can compile DDMD, although it uses the 2.066.1 frontend. Iain backported the relevant C++ mangle changes: https://github.com/D-Programming-Language/dmd/pull/4957 Yeah, I guess the more accurate statement is that DDMD relies on some fixes that are not in DMD 2.066. At some point we will probably start relying on bug fixes or features that aren't available before 2.067 in any compiler. Best to start using GDC in the CI development of DMD now though so we catch them when it happens!
Re: Moving forward with work on the D language and foundation
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. Andrei You are precious asset for D community.
Re: D-Day for DMD is today!
Johannes Pfau wrote in message news:mrp3m1$184s$1...@digitalmars.com... Current GDC master can compile DDMD, although it uses the 2.066.1 frontend. Iain backported the relevant C++ mangle changes: https://github.com/D-Programming-Language/dmd/pull/4957 Yeah, I guess the more accurate statement is that DDMD relies on some fixes that are not in DMD 2.066. At some point we will probably start relying on bug fixes or features that aren't available before 2.067 in any compiler.
Re: D-Day for DMD is today!
Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote in message news:mailman.598.1440753894.13986.digitalmars-d-annou...@puremagic.com... Best to start using GDC in the CI development of DMD now though so we catch them when it happens! I've played the 'upgrade the autotester' game before, and I'm not in a hurry to go again. But yes I absolutely agree that should happen.
Re: Moving forward with work on the D language and foundation
On Thursday, 27 August 2015 at 20:52:42 UTC, Steven Schveighoffer wrote: On 8/27/15 2:03 PM, Colin wrote: On Thursday, 27 August 2015 at 16:01:54 UTC, BBasile wrote: On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: [...] That's courageous, particularly past 50 yo. It's a different culture, past 50 yo in Europe people choose security, but in USA, past 50 yo some people still take the risk to try something new. Awesome. Andrei is past 50? Doesn't look it! He ain't that old :) http://erdani.com/index.php/about/ Born in 1969 -Steve Who said you have to be in your twenties to rock 'n' roll? Look at J.J. Cale, he was in his thirties when he became famous and he said he could avoid many mistakes people make when they're young and foolish. After all, that's what D is about, mature but not complacent.
Re: Functional Programming with D
On Fri, 2015-08-28 at 06:45 +, Kingsley via Digitalmars-d-announce wrote: […] This is excellent information on functional programming with D. I would love to see a lot more information in this area - perhaps a much longer article covering in more detail - and also covering what is missing - e.g. does D have a for comprehension, Option, Either etc For comprehensions are (more less) just ways of doing lazy sequence comprehensions in Scala, Clojure, etc. I think I prefer comprehensions in the Miranda, Haskell, Python, etc. style: generator expression are handled with constructs that do not resemble explicit iteration for loops. Less to create confusion. -- Russel. = Dr Russel Winder t:+44 20 7585 2200 voip:sip: russel.win...@ekiga.net 41 Buckmaster Road m:+44 7770 465 077 xmpp:rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder signature.asc Description: This is a digitally signed message part
Re: D-Day for DMD is today!
On 28 August 2015 at 14:44, Russel Winder via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Thu, 2015-08-27 at 21:07 +, Laeeth Isharc via Digitalmars-d-announce wrote: […] I am very impressed by the young talent in the D community. I asked one such chap how he knew so much, and he attributed it to learning from being around such top notch guys as you, Andrei, and the other contributors. At what age does one become a telentless oldie? -- Russel. I'd have a tentative guess and say when you're Bio begins with Past my sell-by date. http://stackoverflow.com/users/1444574/steve-teale
Re: Moving forward with work on the D language and foundation
On Friday, 28 August 2015 at 12:28:43 UTC, Russel Winder wrote: On Thu, 2015-08-27 at 16:01 +, BBasile via Digitalmars-d-announce wrote: […] That's courageous, particularly past 50 yo. It's a different culture, past 50 yo in Europe people choose security, but in USA, past 50 yo some people still take the risk to try something new. Awesome. I say bollocks to your accusation that Europeans post 50 are a bunch of useless idiots. I call double bollocks on the claim that only in the USA do people do anything. I agree (I think it's the first time I agree with you!). Age is a state of mind. I've seen people in their 20ies who only think about a pension plan and watch TV every evening until they fall asleep. The thing is that in Europe people are not lazier, it's just harder to get going. You are fighting against structures that have been there since the Middle Ages (or longer). I don't know about the US, but in the New World (we stole from the inhabitants for whom it was an old world) there are indeed more possibilities. In Europe they regulate the ordinary citizen to death, often it's not worth the hassle.
Re: D-Day for DMD is today!
On Friday, 28 August 2015 at 07:47:13 UTC, Johannes Pfau wrote: Current GDC master can compile DDMD, although it uses the 2.066.1 frontend. Iain backported the relevant C++ mangle changes: https://github.com/D-Programming-Language/dmd/pull/4957 The first LDC 2.067.1 beta is imminent. — David
Re: D-Day for DMD is today!
On Thu, 2015-08-27 at 21:07 +, Laeeth Isharc via Digitalmars-d-announce wrote: […] I am very impressed by the young talent in the D community. I asked one such chap how he knew so much, and he attributed it to learning from being around such top notch guys as you, Andrei, and the other contributors. At what age does one become a telentless oldie? -- Russel. = Dr Russel Winder t:+44 20 7585 2200 voip:sip: russel.win...@ekiga.net 41 Buckmaster Road m:+44 7770 465 077 xmpp:rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder signature.asc Description: This is a digitally signed message part
Re: Moving forward with work on the D language and foundation
On Thu, 2015-08-27 at 16:52 -0400, Steven Schveighoffer via Digitalmars-d- announce wrote: […] He ain't that old :) http://erdani.com/index.php/about/ Born in 1969 A youngster then. -- Russel. = Dr Russel Winder t:+44 20 7585 2200 voip:sip: russel.win...@ekiga.net 41 Buckmaster Road m:+44 7770 465 077 xmpp:rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder signature.asc Description: This is a digitally signed message part
Re: Moving forward with work on the D language and foundation
On Thu, 2015-08-27 at 16:01 +, BBasile via Digitalmars-d-announce wrote: […] That's courageous, particularly past 50 yo. It's a different culture, past 50 yo in Europe people choose security, but in USA, past 50 yo some people still take the risk to try something new. Awesome. I say bollocks to your accusation that Europeans post 50 are a bunch of useless idiots. I call double bollocks on the claim that only in the USA do people do anything. -- Russel. = Dr Russel Winder t:+44 20 7585 2200 voip:sip: russel.win...@ekiga.net 41 Buckmaster Road m:+44 7770 465 077 xmpp:rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder signature.asc Description: This is a digitally signed message part
Re: D-Day for DMD is today!
On Friday, 28 August 2015 at 13:27:42 UTC, David Nadlinger wrote: On Friday, 28 August 2015 at 07:47:13 UTC, Johannes Pfau wrote: Current GDC master can compile DDMD, although it uses the 2.066.1 frontend. Iain backported the relevant C++ mangle changes: https://github.com/D-Programming-Language/dmd/pull/4957 The first LDC 2.067.1 beta is imminent. — David Yay!
Re: D-Day for DMD is today!
On Fri, 2015-08-28 at 14:59 +0200, Iain Buclaw via Digitalmars-d-announce wrote: […] I'd have a tentative guess and say when you're Bio begins with Past my sell-by date. http://stackoverflow.com/users/1444574/steve-teale Hummm… I was programming FORTRAN in 1969 – punch cards, the whole hours turnaround per run deal, which I would never like to recreate. Maybe I shall have to reconcile myself to having dissipated all my talent so as to become talentless… …on the other hand I still do consultancy and training for money so I am selling myself, I have not reached by sell-by-date just yet. :-) -- Russel. = Dr Russel Winder t:+44 20 7585 2200 voip:sip: russel.win...@ekiga.net 41 Buckmaster Road m:+44 7770 465 077 xmpp:rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder signature.asc Description: This is a digitally signed message part
Re: Moving forward with work on the D language and foundation
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. [...] Awesome!!!
Re: Programming in D – Tutorial and Reference
On 8/28/2015 3:58 PM, Luís Marques l...@luismarques.eu wrote: On Friday, 28 August 2015 at 22:42:00 UTC, sigod wrote: Actual link: https://news.ycombinator.com/item?id=10136882 I think Walter didn't post the direct link because the referrer impacts the voting algorithm. So, please don't use the direct link. That's right. If you follow the direct link, HN will ignore your votes.
Re: D-Day for DMD is today!
On Sunday, 23 August 2015 at 05:17:33 UTC, Walter Bright wrote: We have made the switch from C++ DMD to D DMD! What is the relation between the .h files that were left intact, and the backend, GDC, and LDC? When the backend is converted to D, will the DMD source drop the C++ header files, or will (some?) of those be left behind because GDC and LDC will always use some C++ interfaces in their glue code?
Re: D-Day for DMD is today!
On Saturday, 29 August 2015 at 03:47:46 UTC, Daniel Murphy wrote: The frontend header files will need to stay intact, and GDC/LDC will continue to use them. All the backend header files can be deleted once the backend has been converted. Probably not all of them, though, no? For instance, utf.h is not needed by the GDC / LDC glue code, is it?
Re: D-Day for DMD is today!
Luís Marques wrote in message news:fnhnundiapulkyqmi...@forum.dlang.org... Probably not all of them, though, no? For instance, utf.h is not needed by the GDC / LDC glue code, is it? We don't have a policy on this yet. It won't matter so much if we can auto-generate the headers.
Re: D-Day for DMD is today!
Luís Marques wrote in message news:ckyiqzpchfahzfjmm...@forum.dlang.org... What is the relation between the .h files that were left intact, and the backend, GDC, and LDC? When the backend is converted to D, will the DMD source drop the C++ header files, or will (some?) of those be left behind because GDC and LDC will always use some C++ interfaces in their glue code? The frontend header files will need to stay intact, and GDC/LDC will continue to use them. All the backend header files can be deleted once the backend has been converted. I'm planning to generate the C++ headers from the D source rather than maintain them by hand.
Re: Moving forward with work on the D language and foundation
On Friday, 28 August 2015 at 16:12:47 UTC, Russel Winder wrote: On Fri, 2015-08-28 at 13:08 +, Chris via Digitalmars-d-announce wrote: […] Startup still happen, but it is now really to create the technology to be bought by a corporate before sales, so for small value. Serial entrepreneurism is the thing now. I suspect The Valley is now like this: the opportunities for a new Microsoft or Google are much smaller, at least until there is a new disruptive technology a la Facebook. I find this quite interesting - the Don't fall in love with your business mentality is truly there. Maybe it's the romantic in me, but I like to think that if I do ever create a company, I'd like to be the one to run it into the ground, thank you very much!
Re: Moving forward with work on the D language and foundation
On Fri, 2015-08-28 at 13:08 +, Chris via Digitalmars-d-announce wrote: […] I agree (I think it's the first time I agree with you!). Age is a state of mind. I've seen people in their 20ies who only think about a pension plan and watch TV every evening until they fall asleep. Maybe we should get back to disagreeing, but only after this bit of this thread. :-) The thing is that in Europe people are not lazier, it's just harder to get going. You are fighting against structures that have been there since the Middle Ages (or longer). I don't know about the US, but in the New World (we stole from the inhabitants for whom it was an old world) there are indeed more possibilities. In Europe they regulate the ordinary citizen to death, often it's not worth the hassle. There no doubt that there is a difference in society and business USA compared to Europe: at least in Western Europe there is a fundamental commonality in the extant business culture. Yes, the European way is a consequence of the history, as indeed is the USA culture. There is no doubt that (at least until Big Money took over most, if not all, startup funding in The Valley) there was a much more vibrant startup culture in the USA than in the UK (I cannot speak for the rest of Europe). Although the tax system hinders startups in the UK, there is an increasing startup culture in the IT industry, at least in London, as people continue to find the various little pots of money (which have been around for years and funded most of my 2000-2004 venture). The problem is that the big corporates see activity and then move to stiffle it. In Shoreditch, the corporates moved into startup area, the rents shot up and so you either use the Google incubator or go elsewhere. Effectively Shoreditch startup activity has been killed off. I am hopeful Elephant Castle or Borough become the new Shorditch. Startup still happen, but it is now really to create the technology to be bought by a corporate before sales, so for small value. Serial entrepreneurism is the thing now. I suspect The Valley is now like this: the opportunities for a new Microsoft or Google are much smaller, at least until there is a new disruptive technology a la Facebook. -- Russel. = Dr Russel Winder t:+44 20 7585 2200 voip:sip: russel.win...@ekiga.net 41 Buckmaster Road m:+44 7770 465 077 xmpp:rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder signature.asc Description: This is a digitally signed message part
Re: Moving forward with work on the D language and foundation
On Friday, 28 August 2015 at 17:52:43 UTC, Nhale wrote: good luck focusing on the D. downvote
Re: Moving forward with work on the D language and foundation
On Thursday, 27 August 2015 at 20:29:49 UTC, Andrej Mitrovic wrote: On 8/27/15, BBasile via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Thursday, 27 August 2015 at 18:03:37 UTC, Colin wrote: On Thursday, 27 August 2015 at 16:01:54 UTC, BBasile wrote: On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: [...] That's courageous, particularly past 50 yo. It's a different culture, past 50 yo in Europe people choose security, but in USA, past 50 yo some people still take the risk to try something new. Awesome. Andrei is past 50? Doesn't look it! And Walter who was involved in the 80's in the team who made MS DOS... do you think he's 20 yo ? Hmm.. ? This is the first time I've heard of this. He's one of the very first people who have developed a C++ compiler, but MS-DOS? Right, this is an error. The day i've read his bio here http://www.drdobbs.com/architecture-and-design/how-i-came-to-write-d/240165322 I should be very **tired**. I found myself part of a programming team developing software for MS-DOS. This is the origin of the error. Sorry I didn't mean to spread bullshits...
Re: Programming in D – Tutorial and Reference
On Friday, 28 August 2015 at 22:42:00 UTC, sigod wrote: Actual link: https://news.ycombinator.com/item?id=10136882 I think Walter didn't post the direct link because the referrer impacts the voting algorithm. So, please don't use the direct link.
Re: Programming in D – Tutorial and Reference
Actual link: https://news.ycombinator.com/item?id=10136882
Re: Moving forward with work on the D language and foundation
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. When I read this post one of the things that crossed my mind was how Andrei could afford to do this, but personal economic issues tend to be sensitive matters so I didn't presume to ask. It seems that someone else asked it (very directly) on reddit, and Andrei replied. His answer is basically that he's taking a large pay cut to do this: https://www.reddit.com/r/programming/comments/3ioy9b/andrei_alexandrescu_c_guru_leaves_facebook_to/cuip1pd Given the implicit donation (the financial opportunity cost) that Andrei is making to D, I just wanted to say: thank you.
Programming in D – Tutorial and Reference
On the front page of Hacker News: https://news.ycombinator.com/news
Re: Moving forward with work on the D language and foundation
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. [...] good luck focusing on the D.
Re: Moving forward with work on the D language and foundation
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: I encourage others to respond in kind. just make sure there is a way to make small recurring donations the way the Perl Foundation does and there will be others ... maybe not from royalties, unless payment for work for hire qualifies :)
Re: Programming in D paper book is available for purchase
On 08/18/2015 10:33 PM, Ali Çehreli wrote: On 08/18/2015 09:33 PM, Rikki Cattermole wrote: Out of interest, why did you choose createspace over e.g. lulu? I looked at various options about a year ago. I eliminated Lulu because my book already had way too many pages over their limit. I think their limit was something around 600 pages. I now have 798 pages but either they changed their options or put up better information that I should be able fit 740 pages with some layout changes: http://connect.lulu.com/t5/Product-Pricing-Information/Binding-options-and-their-page-counts/ta-p/33673 Additionally, according to my research at the time, CreateSpace was the one of the ones that would give me the most royalty. I eliminated other companies for other reasons e.g. because they would not take pdf, which my build system happens to produce for historical reasons. I've just realized that going with CreateSpace (Amazon owns it) makes the book virtually impossible to appear on book shelves. This is both because the booksellers make less money and more importantly, because books obtained from CreateSpace are non-returnable. I've just received the following quote from the buyer of an independent book seller: It is our company policy not to carry stock for titles that Amazon has published as they are our competitors and we do not agree with their business practices. Luckily, it seems to be possible to publish the book at Ingram as well: http://bookmarketingtools.com/blog/benefit-of-self-publishing-with-createspace-and-ingram-spark/ I will try that route. Ali
Re: D-Day for DMD is today!
On 8/28/2015 8:59 AM, Russel Winder via Digitalmars-d-announce wrote: Hummm… I was programming FORTRAN in 1969 – punch cards, the whole hours turnaround per run deal, which I would never like to recreate. Maybe I shall have to reconcile myself to having dissipated all my talent so as to become talentless… I, too, am a master of useless, obsolete technology like DOS programming.