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: 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

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.

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 > > > >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 > >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 > > 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

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 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: 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

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.

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

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

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: 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 >

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)

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

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

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

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

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,

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

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.

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

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

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

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

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

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: 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

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

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

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

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.

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

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: 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

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

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

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

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! --

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: 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.

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

2018-01-30 Thread Paulo Pinto via Digitalmars-d
On Tuesday, 30 January 2018 at 22:43:32 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote: "extremely eefficient native code". I don't argue that C++ has extremely efficient native code. But so has D. So the claim that C++ has an "enormous

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

2018-01-30 Thread mate via Digitalmars-d
On Wednesday, 31 January 2018 at 04:55:02 UTC, thedeemon 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 That's a question from

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

2018-01-30 Thread thedeemon via Digitalmars-d
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 That's a question from 2014. I wonder if anybody would see those answers.

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

2018-01-30 Thread Walter Bright via Digitalmars-d
On 1/30/2018 1:02 PM, H. S. Teoh wrote: Where's C++'s "enormous performance advantage?" I'm not seeing it, except in this article, and, presumably, in the author's imagination. I know C, C++, and D code generation semantics. There is only one case where C/C++ can fundamentally generate

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

2018-01-30 Thread H. S. Teoh via Digitalmars-d
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: > > Meaning, the "enormous performance advantage" is because of > > "extremely eefficient native code". I don't argue that C++ has > > extremely

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

2018-01-30 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote: "extremely eefficient native code". I don't argue that C++ has extremely efficient native code. But so has D. So the claim that C++ has an "enormous performance advantage" over D is specious. We also need to keep in mind that

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

2018-01-30 Thread Andrei Alexandrescu via Digitalmars-d
On 01/30/2018 04:02 PM, H. S. Teoh wrote: On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via Digitalmars-d wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ [...] I actually agree with all of his points, except one: C++'s "enormous performance advantage"?! Is he

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

2018-01-30 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote: Meaning, the "enormous performance advantage" is because of "extremely eefficient native code". I don't argue that C++ has extremely efficient native code. But so has D. So the claim that C++ has an "enormous performance

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

2018-01-30 Thread H. S. Teoh via Digitalmars-d
On Tue, Jan 30, 2018 at 09:49:46PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Tuesday, 30 January 2018 at 21:43:45 UTC, Daniel Kozak wrote: > > Thats not completly true, last time I tried some of best c++ version > > from http://benchmarksgame.alioth.debian.org/. I was able to write

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

2018-01-30 Thread Daniel Kozak via Digitalmars-d
Yes, than you are right On Tue, Jan 30, 2018 at 10:49 PM, Ola Fosheim Grøstad via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Tuesday, 30 January 2018 at 21:43:45 UTC, Daniel Kozak wrote: > >> Thats not completly true, last time I tried some of best c++ version from >>

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

2018-01-30 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 30 January 2018 at 21:43:45 UTC, Daniel Kozak wrote: Thats not completly true, last time I tried some of best c++ version from http://benchmarksgame.alioth.debian.org/. I was able to write much idiomatic D code which was faster than c++ witch use some specific libraries and so on.

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

2018-01-30 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 30 January 2018 at 21:30:06 UTC, H. S. Teoh wrote: On Tue, Jan 30, 2018 at 09:26:30PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: Specific examples, please. What are some examples of these "performance related options"? Supported concurrency options and tuning etc.

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

2018-01-30 Thread Daniel Kozak via Digitalmars-d
Thats not completly true, last time I tried some of best c++ version from http://benchmarksgame.alioth.debian.org/. I was able to write much idiomatic D code which was faster than c++ witch use some specific libraries and so on. So my experience is that D is same or faster than C++ On Tue, Jan

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

2018-01-30 Thread H. S. Teoh via Digitalmars-d
On Tue, Jan 30, 2018 at 09:26:30PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Tuesday, 30 January 2018 at 21:02:13 UTC, H. S. Teoh wrote: > > On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via > > Digitalmars-d wrote: > > >

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

2018-01-30 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 30 January 2018 at 21:02:13 UTC, H. S. Teoh wrote: On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via Digitalmars-d wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ [...] I actually agree with all of his points, except one: C++'s "enormous

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

2018-01-30 Thread H. S. Teoh via Digitalmars-d
On Tue, Jan 30, 2018 at 03:45:44PM -0500, Andrei Alexandrescu via Digitalmars-d wrote: > https://www.quora.com/Why-hasnt-D-started-to-replace-C++ [...] I actually agree with all of his points, except one: C++'s "enormous performance advantage"?! Is he being serious? Or is his view biased by

<    1   2