Re: adrdox vs markdown vs ddoc

2018-01-31 Thread Seb via Digitalmars-d
On Thursday, 1 February 2018 at 01:23:38 UTC, Adam D. Ruppe wrote: Now, if a 5-character insertion requires 29 edit operations, what do you think the programmer is going to do? Keep up with it, or let the documentation stay slightly suboptimal and out-of-date because it is a hassle? To be fai

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 21:19:50 UTC, H. S. Teoh wrote: On Wed, Jan 31, 2018 at 08:05:37PM +, Adam D. Ruppe via Digitalmars-d wrote: On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote: > ... and Mike did put _a lot_ of effort in pushing colorful > error messages: Yes, that

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, January 31, 2018 19:01:46 Walter Bright via Digitalmars-d wrote: > On 1/31/2018 6:14 PM, Jonathan M Davis wrote: > > I have to wonder if my settings are right. I've never noticed any color > > in error messages. Messing around with some errors right now, the only > > color I see is t

Re: Inline code in the docs - the correct way

2018-01-31 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, January 31, 2018 18:58:29 Walter Bright via Digitalmars-d wrote: > On 1/31/2018 5:37 PM, Steven Schveighoffer wrote: > > Where it breaks down is when you have many nested tags, and you end with > > ) > Long ago, I adjusted my text editor so that when the cursor is placed on > ),

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 3:38 PM, H. S. Teoh wrote: A "small fry" like myself wouldn't dare to push the merge button on changes of this kind of magnitude, since it could have drastic consequences that I can't foresee due to not having a full grasp of the full scale of what is being changed. https://youtu.be

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 6:14 PM, Jonathan M Davis wrote: I have to wonder if my settings are right. I've never noticed any color in error messages. Messing around with some errors right now, the only color I see is that "Error:" is in red, and some of the text is bolded, so it's white instead of the grey th

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 5:58 PM, H. S. Teoh wrote: cosmetic features. I tough lesson I've learned is that cosmetics matter, a lot. Sometimes much more than substance. There's no getting away from it.

Re: Inline code in the docs - the correct way

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 5:37 PM, Steven Schveighoffer wrote: Where it breaks down is when you have many nested tags, and you end with ) Long ago, I adjusted my text editor so that when the cursor is placed on ), the matching ( is found. Ditto for { }, [ ], < >, and #if/#elif/#else/#endif (!). It's b

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Jonathan M Davis via Digitalmars-d
On Thursday, February 01, 2018 02:42:52 Adam D. Ruppe via Digitalmars-d wrote: > On Thursday, 1 February 2018 at 02:24:44 UTC, H. S. Teoh wrote: > > I thought that *is* the color support that was added? If > > you're expecting IDE-style syntax highlighting, I think you're > > setting your expecta

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 1 February 2018 at 02:24:44 UTC, H. S. Teoh wrote: I thought that *is* the color support that was added? If you're expecting IDE-style syntax highlighting, I think you're setting your expectations a little high for something that ostensibly was banged out in a couple of hours. N

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 07:14:57PM -0700, Jonathan M Davis via Digitalmars-d wrote: > On Wednesday, January 31, 2018 17:16:21 Walter Bright via Digitalmars-d > wrote: > > On 1/31/2018 1:19 PM, H. S. Teoh wrote: > > > I'd rather stick with just B&W. > > > >dmd -color=off file.d > > I have to

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, January 31, 2018 17:16:21 Walter Bright via Digitalmars-d wrote: > On 1/31/2018 1:19 PM, H. S. Teoh wrote: > > I'd rather stick with just B&W. > >dmd -color=off file.d I have to wonder if my settings are right. I've never noticed any color in error messages. Messing around with

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 05:16:21PM -0800, Walter Bright via Digitalmars-d wrote: > On 1/31/2018 1:19 PM, H. S. Teoh wrote: > > I'd rather stick with just B&W. > > dmd -color=off file.d Thanks! Though, as I said, it doesn't bother me quite enough to want to go through the effort of explicitly s

Re: Inline code in the docs - the correct way

2018-01-31 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, January 31, 2018 16:19:53 H. S. Teoh via Digitalmars-d wrote: > In general, almost all text macro / formatting systems, from LaTeX to > HTML to ddoc, are universally ugly and verbose when it comes to tables, > and makes my eyes bleed. The only exception I've found so far is > > markdo

Re: Inline code in the docs - the correct way

2018-01-31 Thread Steven Schveighoffer via Digitalmars-d
On 1/31/18 5:55 PM, Adam D. Ruppe wrote: Now though, inline code like $(D) and $(REF) are ambiguous. They are short enough that they'd normally fall into my "ok with it" zone like $(B)... but they are also so common and I want to encourage their use. And having three shifted characters that mu

Re: Inline code in the docs - the correct way

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 31 January 2018 at 15:40:04 UTC, Jakub Łabaj wrote: What is the current state of the art of writing inline code in the documentation? To give you a quick answer, the tide is going toward ``. You should probably just use it in most cases as long as the code fits on a single line.

adrdox vs markdown vs ddoc

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
FYI I am changing the subject line with this post since it is branching off the original question of simple best practices of code in ddoc. On Thursday, 1 February 2018 at 00:19:53 UTC, H. S. Teoh wrote: In general, almost all text macro / formatting systems, from LaTeX to HTML to ddoc, are u

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 1:19 PM, H. S. Teoh wrote: I'd rather stick with just B&W. dmd -color=off file.d

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 11:59 AM, Seb wrote: ... and Mike did put _a lot_ of effort in pushing colorful error messages: Yes, and he did a nice job of it. The results are attractive, worthwhile, and resolves a specific complaint people had about dmd's error messages.

Re: The daily D riddle

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 4:19 PM, Amorphorious wrote: [...] Don't berate other forum members.

On reddit: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/

Re: Inline code in the docs - the correct way

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 10:55:38PM +, Adam D. Ruppe via Digitalmars-d wrote: > On Wednesday, 31 January 2018 at 21:34:47 UTC, H. S. Teoh wrote: > > Coming from you, I'm a little surprised. Weren't you one of the > > people complaining that ddoc macro syntax is ugly? > > $(H1 Rebuttal) > > It

Re: The daily D riddle

2018-01-31 Thread Amorphorious via Digitalmars-d
On Sunday, 28 January 2018 at 06:44:40 UTC, Jonathan M Davis wrote: On Sunday, January 28, 2018 08:25:51 Shachar Shemesh via Digitalmars-d wrote: What will the following code print? Do not use the compiler: import std.stdio; struct A { int a = 1; void initialize() { a = a.init; }

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 09:07:39PM +, John Gabriele via Digitalmars-d wrote: > On Wednesday, 31 January 2018 at 20:03:11 UTC, Adam D. Ruppe wrote: > > > > {snip} (well, I tried to get it upstream but I think upstream is a > > brick wall and not worth trying anymore) > > That is very concernin

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2018 5:54 AM, Jack Stouffer wrote: On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote: E.g. three compilers Every other compiled language (and a lot of scripting ones) uses the fact of multiple compilers for the language as a sign of adoption and ecosystem growth. I'

Re: Inline code in the docs - the correct way

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 31 January 2018 at 21:34:47 UTC, H. S. Teoh wrote: Coming from you, I'm a little surprised. Weren't you one of the people complaining that ddoc macro syntax is ugly? $(H1 Rebuttal) It depends how you use it. For large blocks or for small, special bits, it doesn't bother me. S

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 19:00:57 UTC, Jack Stouffer wrote: That's just something that Walter was able to bang out in an hour, should have been done years ago, and was excited about. So it isn't a big deal, but IMO that should be left to an IDE or shell. Back to the argument about cP

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Benny via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: Here's a spoiler: 1) Andrei does an excellent job at managing his students [1] and there work over the last couple of months has been tremendous. As the experiment with UPB was very successful, there will be more projects like this one

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 21:42:47 UTC, Ali wrote: The kinda small discussion on ycombinator https://news.ycombinator.com/item?id=16270841 Interesting... most of them don't grok C++, D, Java or Go... Hope people don't look to ycombinator for answers.

Re: Inline code in the docs - the correct way

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 06:31:34PM +, Adam D. Ruppe via Digitalmars-d wrote: > On Wednesday, 31 January 2018 at 17:14:56 UTC, H. S. Teoh wrote: > > But otherwise, the two are equivalent. (In fact, backticks translate > > directly into $(D ...) in the ddoc code. They are just syntactic > > sugar

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ali via Digitalmars-d
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei The kinda small discussion on ycombinator https://news.ycombinator.com/item?id=16270841

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 08:05:37PM +, Adam D. Ruppe via Digitalmars-d wrote: > On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote: > > ... and Mike did put _a lot_ of effort in pushing colorful error > > messages: > > Yes, that was a direct result of that forum post I alluded to. It > is

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread John Gabriele via Digitalmars-d
On Wednesday, 31 January 2018 at 20:03:11 UTC, Adam D. Ruppe wrote: {snip} (well, I tried to get it upstream but I think upstream is a brick wall and not worth trying anymore) That is very concerning to hear.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 18:05:30 UTC, jmh530 wrote: contribute their skills. For instance, Mike Parker's work on the D blog has been a great improvement in communication the past year or two. Yep, to have a living blog is very important IMHO.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 18:05:30 UTC, jmh530 wrote: contribute their skills. For instance, Mike Parker's work on the D blog has been a great improvement in communication the past year or two. Yep, having a living blog is very important I think. It is always something I look at when

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote: ... and Mike did put _a lot_ of effort in pushing colorful error messages: Yes, that was a direct result of that forum post I alluded to. It isn't something he (or most anyone else, in my experience) really cares about, but he felt if

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: Auto generated libraries where all functions are dumped into massive one pagers. This is why I just forked the documentation (well, I tried to get it upstream but I think upstream is a brick wall and not worth trying anymore) http:

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 19:54:05 UTC, Adam D. Ruppe wrote: On Wednesday, 31 January 2018 at 19:00:57 UTC, Jack Stouffer wrote: For some reason this ranks below colourful error-messages. That's just something that Walter was able to bang out in an hour Yet he recently, months after

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 31 January 2018 at 19:00:57 UTC, Jack Stouffer wrote: For some reason this ranks below colourful error-messages. That's just something that Walter was able to bang out in an hour Yet he recently, months after starting, complained that "technical debt", specifically citing colo

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Andrei Alexandrescu via Digitalmars-d
On 01/31/2018 05:55 AM, Benny wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: Let me say this again *uch* Never mind this rant. I am just fed up with the issues. I will not post anymore as its just a wast of time for everybody involved. A few of the points were actionable

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 31 January 2018 at 17:02:06 UTC, Ola Fosheim Grøstad wrote: Ok, and now you are entering a messy space, define "legitimate"? Actionable, clear, and made with the intent to better the language/ecosystem and not just to complain. Development processes need continuous improvement

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Steven Schveighoffer via Digitalmars-d
On 1/31/18 5:35 AM, Benny wrote: Auto generated libraries where all functions are dumped into massive one pagers. https://dlang.org/phobos/std_datetime_date.html Is this readable when the first two pages are this: jan feb mar apr may jun jul aug sep oct nov dec sun mon tue wed thu fri sat C

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Nicholas Wilson via Digitalmars-d
On Wednesday, 31 January 2018 at 18:16:40 UTC, 12345swordy wrote: On Tuesday, 30 January 2018 at 23:36:59 UTC, H. S. Teoh wrote: On Tue, Jan 30, 2018 at 10:12:07PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote: > [...] Well, i

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 12:34:01 UTC, Martin Tschierschke wrote: On Wednesday, 31 January 2018 at 12:03:22 UTC, rjframe wrote: On Wed, 31 Jan 2018 10:55:56 +, Benny wrote: [...] Anyway, mostly because of your recent posts I'm going to take a look at DlangIDE. If we can package a

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread 12345swordy via Digitalmars-d
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei For me personally, there are some really nasty bugs regarding default attributes (@nogc/@safe) that prevent me from using D in personal code projects. Exam

Re: Inline code in the docs - the correct way

2018-01-31 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 31 January 2018 at 17:14:56 UTC, H. S. Teoh wrote: But otherwise, the two are equivalent. (In fact, backticks translate directly into $(D ...) in the ddoc code. They are just syntactic sugar.) No, they aren't. The `` is different in several ways including doing character escapin

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread John Gabriele via Digitalmars-d
On Wednesday, 31 January 2018 at 17:30:54 UTC, H. S. Teoh wrote: On Wed, Jan 31, 2018 at 05:20:59PM +, Seb via Digitalmars-d Please let us know what would help you to find this page quicker. Wow. I set out *deliberately* looking for that link, and couldn't find it until I looked at you

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread 12345swordy via Digitalmars-d
On Tuesday, 30 January 2018 at 23:36:59 UTC, H. S. Teoh wrote: On Tue, Jan 30, 2018 at 10:12:07PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote: > [...] Well, it isn't relevant for those people who would adopt D anyway. [...]

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread jmh530 via Digitalmars-d
On Wednesday, 31 January 2018 at 17:02:06 UTC, Ola Fosheim Grøstad wrote: Is it? Why do so many people have problems with it then? Stupidity? Perhaps the D front page can say "Now with 1 Standard Library!" ;) Ok, and now you are entering a messy space, define "legitimate"? I think the m

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 17:30:54 UTC, H. S. Teoh wrote: Wow. I set out *deliberately* looking for that link, and couldn't find it until I looked at your screenshot. I definitely wouldn't have found it if I didn't even know it was there. I'm no UI consultant, but that link definitely

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote: I've never seen that page. Would've helped me to see it earlier. The D download page should include a blurb with a link to that install page. BTW that's why opening issues is so important: - everyone has a different experience

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread jmh530 via Digitalmars-d
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote: On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: That's only an issue on Windows. For Posix there's the official install.sh script [1]. [1] https://dlang.org/install.html I've never seen that page. Would've helped m

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 05:20:59PM +, Seb via Digitalmars-d wrote: > On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote: > > I've never seen that page. Would've helped me to see it earlier. The > > D download page should include a blurb with a link to that install > > page. > >

Re: Inline code in the docs - the correct way

2018-01-31 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 31, 2018 at 03:40:04PM +, Jakub Łabaj via Digitalmars-d wrote: > What is the current state of the art of writing inline code in the > documentation? > > Wiki says "use `...` instead of $(D ...)": > https://wiki.dlang.org/Contributing_to_Phobos#Documentation_style. > > Some argumen

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote: I've never seen that page. Would've helped me to see it earlier. The D download page should include a blurb with a link to that install page. They are there - hover over them: https://imgur.com/a/JvZwI I submitted it without

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread bachmeier via Digitalmars-d
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote: I've never seen that page. Would've helped me to see it earlier. The D download page should include a blurb with a link to that install page. I tried going to github.com/dlang/dlang.org, finding the download page, and addin

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread kinke via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: * three compilers Not sure why that's a bad thing. They all have their ups and downs: - dmd SUPER fast compilation - ldc multiarch + good optimization + cross-compilation -

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread David Gileadi via Digitalmars-d
On 1/31/18 9:13 AM, John Gabriele wrote: On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: And 3 different installation method's depending on the platform. Windows: DMD installer, LDC manually extract zip and setup path, GDC

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 14:22:03 UTC, Jack Stouffer wrote: It's quite easy to tell when criticism is made in good or bad faith Is it? Why do so many people have problems with it then? Stupidity? and at this point I'm going to reply to every rant in bad faith on here about how terr

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 13:54:25 UTC, Jack Stouffer wrote: I've only ever seen people complain about D in this area. Never once have I seen someone argue that the existence of PyPy hurts Python or gogcc hurts Go. Well, I've seen that people think that MS C++ is keeping C++ back becau

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread John Gabriele via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: And 3 different installation method's depending on the platform. Windows: DMD installer, LDC manually extract zip and setup path, GDC ... That's only an issue on Windows. F

Inline code in the docs - the correct way

2018-01-31 Thread Jakub Łabaj via Digitalmars-d
What is the current state of the art of writing inline code in the documentation? Wiki says "use `...` instead of $(D ...)": https://wiki.dlang.org/Contributing_to_Phobos#Documentation_style. Some arguments made here: https://github.com/dlang/phobos/pull/5183#issuecomment-281895450 suggest

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 31 January 2018 at 10:55:56 UTC, Benny wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: Let me say this again *uch* Never mind this rant. I am just fed up with the issues. I will not post anymore as its just a wast of time for everybody involved. It's quite

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote: E.g. three compilers Every other compiled language (and a lot of scripting ones) uses the fact of multiple compilers for the language as a sign of adoption and ecosystem growth. I've only ever seen people complain about D i

Re: The daily D riddle

2018-01-31 Thread Jorge Lima via Digitalmars-d
On Sunday, 28 January 2018 at 06:44:06 UTC, Shachar Shemesh wrote: On 28/01/18 08:33, Mike Franklin wrote: On Sunday, 28 January 2018 at 06:25:51 UTC, Shachar Shemesh wrote: What will the following code print? Do not use the compiler: import std.stdio; struct A { int a = 1; void init

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Michael via Digitalmars-d
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote: On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei I think that the largest issue there is probably the marketing and advocacy. When Rust

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread drug via Digitalmars-d
It would be really nice if we could know about current WIP a little bit more... And regularly.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Martin Tschierschke via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: [...] This is about to change soon for D. There's WIP to use OpenCollective The announcement should happen soon. Stay tuned! [...] Here's a spoiler: 1) Andrei does an excellent job at managing his students [1] and there work over the

Re: ExpressionTuple is referenced in the specs, but doesn't seem to be defined

2018-01-31 Thread Nick Treleaven via Digitalmars-d
On Friday, 26 January 2018 at 19:44:21 UTC, Dechcaudron wrote: See, for instance, definition https://dlang.org/spec/class.html#class_properties. If it is defined anywhere, I cannot seem to find it. It's now called an Expression List: https://dlang.org/ctarguments.html#homogenous-lists I'll tr

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Martin Tschierschke via Digitalmars-d
On Wednesday, 31 January 2018 at 12:03:22 UTC, rjframe wrote: On Wed, 31 Jan 2018 10:55:56 +, Benny wrote: [...] Anyway, mostly because of your recent posts I'm going to take a look at DlangIDE. If we can package a cross-platform IDE+compiler+dub as a single download and you're ready to

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: [...] Not sure why that's a bad thing. They all have their ups and downs: [...] That's the most refreshing post on D future since a long time. Thanks, really. /Paolo

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread rjframe via Digitalmars-d
On Wed, 31 Jan 2018 10:55:56 +, Benny wrote: > On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: >> Let me say this again > > *uch* Never mind this rant. I am just fed up with the issues. I will not > post anymore as its just a wast of time for everybody involved. I wouldn't call i

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Seb via Digitalmars-d
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: * three compilers Not sure why that's a bad thing. They all have their ups and downs: - dmd SUPER fast compilation - ldc multiarch + good optimization + cross-compilation - gdc multiarch + good optimization (in many cases better tha

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: I told before if there is no leadership to focus resources and the main developers are more focused on adding more features to the compiler that is already overflowing, then how do you expect to see things solved? Yes, that is probab

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Benny via Digitalmars-d
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: Let me say this again *uch* Never mind this rant. I am just fed up with the issues. I will not post anymore as its just a wast of time for everybody involved.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Benny via Digitalmars-d
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote: If I had to pick a second issue, it's that the ecosystem story is hard compared to other languages. New programmers aren't certain what to choose or how to get their environment up and running. Compared against Rust, Go, and

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 31 January 2018 at 06:27:05 UTC, Paulo Pinto wrote: And lets not forget Arduino, ESP286 and ESP32 are making wonders for the kids to jump into C++ as their first language. That's interesting, MS got a lot of traction for BASIC by making it available in ROM on basically (no pun in

Re: How programmers transition between languages

2018-01-31 Thread Russel Winder via Digitalmars-d
On Tue, 2018-01-30 at 17:26 +, Ola Fosheim Grøstad via Digitalmars- d wrote: […] > Grounded Theory cannot be used for trend analysis though. […] Quite right, good point. -- Russel. === Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Roadm:

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Russel Winder via Digitalmars-d
On Wed, 2018-01-31 at 04:55 +, thedeemon via Digitalmars-d wrote: > On Tuesday, 30 January 2018 at 22:38:20 UTC, Andrei Alexandrescu > wrote: > > > > https://www.quora.com/Why-hasnt-D-started-to-replace-C++ > > > > > > [...] > > At best responses would go on Quora, not here. Thanks! -- Andrei

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Russel Winder via Digitalmars-d
T, Arguing things on this list serves no purpose other than to rehearse arguments. The place to say things about stuff on Quora is on Quora as Walter, Laeeth, and I have done in this case. On Tue, 2018-01-30 at 13:02 -0800, H. S. Teoh via Digitalmars-d wrote: > On Tue, Jan 30, 2018 at 03:45:44PM

Re: An idea for commercial support for D

2018-01-31 Thread Joakim via Digitalmars-d
On Tuesday, 30 January 2018 at 19:45:51 UTC, Laeeth Isharc wrote: On Sunday, 4 January 2015 at 08:31:23 UTC, Joakim wrote: This is an idea I've been kicking around for a while, and given the need for commercial support for D, would perhaps work well here. [...] By the way, in case you are i

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Andrew Benton via Digitalmars-d
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei I think that the largest issue there is probably the marketing and advocacy. When Rust was about the same share as D, it had much better marketing. Someon