Re: C++ launched its community survey, too

2018-03-11 Thread Dmitry Olshansky via Digitalmars-d
On Sunday, 11 March 2018 at 02:21:30 UTC, Laeeth Isharc wrote: On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote: It would be nice if you could actually just copy-n-paste a C header into an extern(C) block in D and have it Just Work(tm), but practically all C headers are dependent

Re: C++ launched its community survey, too

2018-03-10 Thread Laeeth Isharc via Digitalmars-d
On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote: It would be nice if you could actually just copy-n-paste a C header into an extern(C) block in D and have it Just Work(tm), but practically all C headers are dependent on macros one way or another that it would require including

Re: C++ launched its community survey, too

2018-03-07 Thread H. S. Teoh via Digitalmars-d
On Wed, Mar 07, 2018 at 03:52:19PM +, Nick Treleaven via Digitalmars-d wrote: > On Wednesday, 28 February 2018 at 20:01:34 UTC, H. S. Teoh wrote: > > As Andrei wrote in TDPL, (and I paraphrase,) it sucks when built-in > > types have magical abilities inaccessible to user code. This is a > >

Re: C++ launched its community survey, too

2018-03-07 Thread Nick Treleaven via Digitalmars-d
On Wednesday, 28 February 2018 at 20:01:34 UTC, H. S. Teoh wrote: As Andrei wrote in TDPL, (and I paraphrase,) it sucks when built-in types have magical abilities inaccessible to user code. This is a common defect in many programming languages... the "magical" behaviour is wonderful when it

Re: C++ launched its community survey, too

2018-03-03 Thread Joakim via Digitalmars-d
On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: On Tuesday, February 27, 2018 17:33:52 12345swordy via Digitalmars-d wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: > https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite

Re: C++ launched its community survey, too

2018-03-01 Thread German Diago via Digitalmars-d
On Tuesday, 27 February 2018 at 17:33:52 UTC, 12345swordy wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei I have submitted, already. My major complaints boils down to the

Re: C++ launched its community survey, too

2018-02-28 Thread H. S. Teoh via Digitalmars-d
On Wed, Feb 28, 2018 at 09:46:49PM +, TheFlyingFiddle via Digitalmars-d wrote: > On Wednesday, 28 February 2018 at 20:01:34 UTC, H. S. Teoh wrote: > > Just to give some background. At work I spend most of my time > maintaining legacy systems adding some small features or replacing >

Re: C++ launched its community survey, too

2018-02-28 Thread TheFlyingFiddle via Digitalmars-d
On Wednesday, 28 February 2018 at 20:01:34 UTC, H. S. Teoh wrote: Just to give some background. At work I spend most of my time maintaining legacy systems adding some small features or replacing subcomponents. So most of what I do is reading code and making some minor changes (unless it's

Re: C++ launched its community survey, too

2018-02-28 Thread H. S. Teoh via Digitalmars-d
On Wed, Feb 28, 2018 at 06:45:29PM +, TheFlyingFiddle via Digitalmars-d wrote: [...] > My least preferredlanguage of all times would be Perl. With (PHP 5.3) > coming in at a close second :) > > Perl is just... I get it, you can write somewhat nicer bash scripts in > the language. I was

Re: C++ launched its community survey, too

2018-02-28 Thread TheFlyingFiddle via Digitalmars-d
On Wednesday, 28 February 2018 at 10:15:13 UTC, Zoadian wrote: On Wednesday, 28 February 2018 at 00:53:16 UTC, psychoticRabbit wrote: It should have gone to the Java developers - cause they deserved it. C++ is the worst thing to have ever come out of computer science! yes c++ is not the

Re: C++ launched its community survey, too

2018-02-28 Thread 0xFFFFFFFF via Digitalmars-d
On Tuesday, 27 February 2018 at 19:03:54 UTC, Mark wrote: On Tuesday, 27 February 2018 at 17:33:52 UTC, 12345swordy wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei I have

Re: C++ launched its community survey, too

2018-02-28 Thread Atila Neves via Digitalmars-d
On Wednesday, 28 February 2018 at 12:06:38 UTC, Stefan Koch wrote: On Wednesday, 28 February 2018 at 11:32:32 UTC, Atila Neves wrote: On Tuesday, 27 February 2018 at 20:46:20 UTC, bachmeier wrote: On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: The other problem is that

Re: C++ launched its community survey, too

2018-02-28 Thread Stefan Koch via Digitalmars-d
On Wednesday, 28 February 2018 at 11:32:32 UTC, Atila Neves wrote: On Tuesday, 27 February 2018 at 20:46:20 UTC, bachmeier wrote: On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: The other problem is that many of C++'s problems come from being a superset of C, which is

Re: C++ launched its community survey, too

2018-02-28 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: The other problem is that many of C++'s problems come from being a superset of C, which is also a huge strength, and it would be a pretty huge blow to C++ if it couldn't just #include C code and use it as if it were C++. To

Re: C++ launched its community survey, too

2018-02-28 Thread Atila Neves via Digitalmars-d
On Tuesday, 27 February 2018 at 20:46:20 UTC, bachmeier wrote: On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: The other problem is that many of C++'s problems come from being a superset of C, which is also a huge strength, and it would be a pretty huge blow to C++ if

Re: C++ launched its community survey, too

2018-02-28 Thread Patrick Schluter via Digitalmars-d
On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote: On Tue, Feb 27, 2018 at 01:33:18PM -0700, Jonathan M Davis via Digitalmars-d wrote: [...] [...] Not strictly true. My old C++98 project no longer compiled with the latest g++, because it contained things allowed in C++98 that

Re: C++ launched its community survey, too

2018-02-28 Thread Zoadian via Digitalmars-d
On Wednesday, 28 February 2018 at 00:53:16 UTC, psychoticRabbit wrote: It should have gone to the Java developers - cause they deserved it. C++ is the worst thing to have ever come out of computer science! yes c++ is not the greatest language (thats why i use D). but java is the worst

Re: C++ launched its community survey, too

2018-02-27 Thread Walter Bright via Digitalmars-d
On 2/27/2018 9:41 AM, H. S. Teoh wrote: And just about every new dmd release, people fume on this forum about regressions and gratuitous code breakages. On Tuesday, sure. Then on Wednesday the same people propose breaking changes :-) Everybody wants it both ways, including me.

Re: C++ launched its community survey, too

2018-02-27 Thread Mike Franklin via Digitalmars-d
On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei "If you could wave a magic wand and change one thing about any part of C++, what would it be, and how would that change help your

Re: C++ launched its community survey, too

2018-02-27 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei really, online surveys are dodgy at best. btw. Bjarne Stroustrup recently received the 2018 Charles Stark Draper Prize for

Re: C++ launched its community survey, too

2018-02-27 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, February 27, 2018 15:28:21 H. S. Teoh via Digitalmars-d wrote: > On Tue, Feb 27, 2018 at 09:44:45PM +, bachmeier via Digitalmars-d wrote: > > On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote: > > > Granted, though, this is a lot easier than having to write JNI > > >

Re: C++ launched its community survey, too

2018-02-27 Thread H. S. Teoh via Digitalmars-d
On Tue, Feb 27, 2018 at 09:44:45PM +, bachmeier via Digitalmars-d wrote: > On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote: > > > Granted, though, this is a lot easier than having to write JNI > > wrappers or (carefully!) translate C headers into D. It would be > > nice if you

Re: C++ launched its community survey, too

2018-02-27 Thread 12345swordy via Digitalmars-d
On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: On Tuesday, February 27, 2018 17:33:52 12345swordy via Digitalmars-d wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: > https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite

Re: C++ launched its community survey, too

2018-02-27 Thread bachmeier via Digitalmars-d
On Tuesday, 27 February 2018 at 21:07:03 UTC, H. S. Teoh wrote: Granted, though, this is a lot easier than having to write JNI wrappers or (carefully!) translate C headers into D. It would be nice if you could actually just copy-n-paste a C header into an extern(C) block in D and have it

Re: C++ launched its community survey, too

2018-02-27 Thread H. S. Teoh via Digitalmars-d
On Tue, Feb 27, 2018 at 01:33:18PM -0700, Jonathan M Davis via Digitalmars-d wrote: [...] > The main problem with that is that the fact that as soon as you're > willing to break backwards compatability in C++, then you lose one of > the major benefits of C++ (that the same code compiles pretty

Re: C++ launched its community survey, too

2018-02-27 Thread Seb via Digitalmars-d
On Tuesday, 27 February 2018 at 20:25:32 UTC, JN wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei D community survey is coming soon? :) Yes. Stay tuned.

Re: C++ launched its community survey, too

2018-02-27 Thread bachmeier via Digitalmars-d
On Tuesday, 27 February 2018 at 20:33:18 UTC, Jonathan M Davis wrote: The other problem is that many of C++'s problems come from being a superset of C, which is also a huge strength, and it would be a pretty huge blow to C++ if it couldn't just #include C code and use it as if it were C++.

Re: C++ launched its community survey, too

2018-02-27 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, February 27, 2018 17:33:52 12345swordy via Digitalmars-d wrote: > On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu > > wrote: > > https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite > > -2018-02 > > > > Andrei > > I have submitted, already. My

Re: C++ launched its community survey, too

2018-02-27 Thread JN via Digitalmars-d
On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei D community survey is coming soon? :)

Re: C++ launched its community survey, too

2018-02-27 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 27 February 2018 at 17:46:58 UTC, Adam D. Ruppe wrote: On Tuesday, 27 February 2018 at 17:41:07 UTC, H. S. Teoh wrote: And just about every new dmd release, people fume on this forum about regressions and gratuitous code breakages. Not all deprecations/code breakages are

Re: C++ launched its community survey, too

2018-02-27 Thread jmh530 via Digitalmars-d
On Tuesday, 27 February 2018 at 18:42:20 UTC, H. S. Teoh wrote: [snip] Well, OK, there *have* been backward-incompatible changes in the C++ standard (I experienced some myself just these past 2 weeks while updating an old C++98 project of mine... which was also motivation for ditching C++

Re: C++ launched its community survey, too

2018-02-27 Thread Mark via Digitalmars-d
On Tuesday, 27 February 2018 at 17:33:52 UTC, 12345swordy wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei I have submitted, already. My major complaints boils down to the

Re: C++ launched its community survey, too

2018-02-27 Thread jmh530 via Digitalmars-d
On Tuesday, 27 February 2018 at 19:01:57 UTC, jmh530 wrote: The economic way of thinking is to consider whether the marginal benefit of a breaking change on all future code and whether that would exceed the marginal cost of a breaking change requiring old projects to be re-written. As most

Re: C++ launched its community survey, too

2018-02-27 Thread H. S. Teoh via Digitalmars-d
On Tue, Feb 27, 2018 at 05:46:58PM +, Adam D. Ruppe via Digitalmars-d wrote: > On Tuesday, 27 February 2018 at 17:41:07 UTC, H. S. Teoh wrote: > > And just about every new dmd release, people fume on this forum > > about regressions and gratuitous code breakages. > > Not all deprecations/code

Re: C++ launched its community survey, too

2018-02-27 Thread 12345swordy via Digitalmars-d
On Tuesday, 27 February 2018 at 17:41:07 UTC, H. S. Teoh wrote: On Tue, Feb 27, 2018 at 05:33:52PM +, 12345swordy via Digitalmars-d wrote: On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: >

Re: C++ launched its community survey, too

2018-02-27 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 27 February 2018 at 17:41:07 UTC, H. S. Teoh wrote: And just about every new dmd release, people fume on this forum about regressions and gratuitous code breakages. Not all deprecations/code breakages are *regressions* and *gratuitous*. You just need to do a cost/benefit look at

Re: C++ launched its community survey, too

2018-02-27 Thread H. S. Teoh via Digitalmars-d
On Tue, Feb 27, 2018 at 05:33:52PM +, 12345swordy via Digitalmars-d wrote: > On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: > > https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 > > > > Andrei > > I have submitted, already. My major

Re: C++ launched its community survey, too

2018-02-27 Thread 12345swordy via Digitalmars-d
On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei I have submitted, already. My major complaints boils down to the fact that they refuse to deprecated features due to religious

Re: C++ launched its community survey, too

2018-02-27 Thread Andrea Fontana via Digitalmars-d
On Tuesday, 27 February 2018 at 15:52:15 UTC, Andrei Alexandrescu wrote: https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei ... and D is listed as an alternative.

C++ launched its community survey, too

2018-02-27 Thread Andrei Alexandrescu via Digitalmars-d
https://isocpp.org/blog/2018/02/new-cpp-foundation-developer-survey-lite-2018-02 Andrei