Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-03 Thread Russel Winder via Digitalmars-d-announce
On Thu, 2020-07-02 at 13:28 +, Abdulhaq via Digitalmars-d-announce wrote: > […] > Herb Sutter is a national treasure, C++ has become bearable, nay > even useful, under his stewardship and that is really saying > something s/national/international/ Herb's closing keynote at ACCU 2017

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-03 Thread Russel Winder via Digitalmars-d-announce
On Thu, 2020-07-02 at 18:22 +, Dibyendu Majumdar via Digitalmars-d- announce wrote: […] > So why was Java successful? It was not compatible with an > existing language. Java has a weird history compared to other languages. It switched from white goods programming language to browser

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-03 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2020-06-29 at 15:45 +, Dagmar via Digitalmars-d-announce wrote: > On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote: > > Of course C++ is now really a niche language used by those who > > still use it and do not move on to more modern languages! > > I am a C++ developer. I

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread IGotD- via Digitalmars-d-announce
On Thursday, 2 July 2020 at 18:22:54 UTC, Dibyendu Majumdar wrote: So why was Java successful? It was not compatible with an existing language. Neither Rust nor Go are compatible with C++. Rust, D and Go are all compatible with C in some sense. Basically Herb is claiming to succeed a

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Thursday, 2 July 2020 at 10:21:19 UTC, Joseph Rushton Wakeling wrote: On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: To be honest the analysis doesn't quite stack up. Because compatibility is not the reason for the success of Go, or Rust. I think that's a

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread claptrap via Digitalmars-d-announce
On Thursday, 2 July 2020 at 13:03:12 UTC, Guillaume Piolat wrote: On Thursday, 2 July 2020 at 11:13:41 UTC, claptrap wrote: If you're doing a plugin the host callback thread wont be known to the D runtime and so the GC wont pause it. So as long as you dont call anything that might trigger

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread claptrap via Digitalmars-d-announce
On Thursday, 2 July 2020 at 12:36:09 UTC, IGotD- wrote: On Thursday, 2 July 2020 at 11:13:41 UTC, claptrap wrote: If you're doing a plugin the host callback thread wont be known to the D runtime and so the GC wont pause it. So as long as you dont call anything that might trigger the GC while

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. Great talk. Similar to what I was trying to say in my DConf19 talk but in many ways

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Abdulhaq via Digitalmars-d-announce
On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. Herb Sutter is a national treasure, C++ has become bearable, nay even useful, under

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Guillaume Piolat via Digitalmars-d-announce
On Tuesday, 30 June 2020 at 11:12:22 UTC, aberba wrote: It requires someone with C++ knowledge to start, then we'll take care of driving in more idioms. Like a GitHub wiki or something. The D wiki more appropriately for centralization. Anyone up for it? D and C++ are VERY different

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 2 July 2020 at 11:13:41 UTC, claptrap wrote: I'm working on virtual audio instruments and effect processors and they do their job in real-time. GC is luxury in this context. If I switched to D, I'd have to also switch from OOP to simple C-like structured programming and implement

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread IGotD- via Digitalmars-d-announce
On Thursday, 2 July 2020 at 11:13:41 UTC, claptrap wrote: If you're doing a plugin the host callback thread wont be known to the D runtime and so the GC wont pause it. So as long as you dont call anything that might trigger the GC while in the callback you wont get GC pauses affecting the

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread claptrap via Digitalmars-d-announce
On Thursday, 2 July 2020 at 10:13:02 UTC, Dagmar wrote: On Monday, 29 June 2020 at 21:29:31 UTC, Ali Çehreli wrote: Then don't turn it off. :) I understand there are programs where an undeterministic delay in processing is unacceptable but those programs all run on real-time operating

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: To be honest the analysis doesn't quite stack up. Because compatibility is not the reason for the success of Go, or Rust. I think that's a misinterpretation of what was said. Compatibility is not a reason for success -- but

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-02 Thread Dagmar via Digitalmars-d-announce
On Monday, 29 June 2020 at 21:29:31 UTC, Ali Çehreli wrote: Then don't turn it off. :) I understand there are programs where an undeterministic delay in processing is unacceptable but those programs all run on real-time operating systems anyway, right? ;) I'm working on virtual audio

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-01 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2020-06-29 at 15:44 +, Patrick Schluter via Digitalmars-d-announce wrote: > […] > And that is completely wrong headed. Internet is not always > directly accessible. There are a lot of companies that restrict > access to the Internet for their security sensible servers, > […] >

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-07-01 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2020-06-29 at 20:41 +, Paulo Pinto via Digitalmars-d-announce wrote: […] > > Rust has only standardized part of the async/await story, the > asynchronous > runtime is not part of the standard library, so currently it is > impossible to write code that works flawlessly across the >

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 21:29:31 UTC, Ali Çehreli wrote: On 6/29/20 8:45 AM, Dagmar wrote: > If I shouldn't use > const, how should I emphasize the intention to pass a pointer only for > reading? How can I be sure that my class invariant is not compromised? > Also, there is the shared

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote: Sometimes there is only one way to find out why it behaves like it does: to ask in this forum. And you may not like the answers. D has transitive const, but what if I should lazy evaluate/cache a value or use a mutex? If I shouldn't use

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:54:36 UTC, Adam D. Ruppe wrote: On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote: D has a GC. If you turn it off you lose dynamic/associative arrays, classes, probably something else. You just have to construct them with a function instead of with the

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote: On Mon, 2020-06-29 at 10:31 +, IGotD- via Digitalmars-d-announce wrote: On the other hand people are stopping using C++ in favour of Go, Rust, Python, but it seems not D. This isn't a fact by the way, there are many people

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 29 June 2020 at 22:44:51 UTC, IGotD- wrote: On Monday, 29 June 2020 at 22:23:57 UTC, Guillaume Piolat wrote: In reality you can actually disable the GC and still use: - classes - associative arrays (dplug:core) - dynamic arrays if you manage their lifetime Honestly, a guide how

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread IGotD- via Digitalmars-d-announce
On Monday, 29 June 2020 at 22:23:57 UTC, Guillaume Piolat wrote: In reality you can actually disable the GC and still use: - classes - associative arrays (dplug:core) - dynamic arrays if you manage their lifetime Honestly, a guide how to do this would be very helpful. I'm particularly

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote: D has a GC. If you turn it off you lose dynamic/associative arrays, classes, probably something else. This is the outside perception of the way things are. In reality you can actually disable the GC and still use: - classes - associative

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Ali Çehreli via Digitalmars-d-announce
On 6/29/20 8:45 AM, Dagmar wrote: > I am a C++ developer. I used to be a C++ developer; luckily, I primarily write in D these days. (I can still code in C++ and will have to do so again soon.) > I do want to move to a modern language, but there > is no one that fits my needs. [...] > Go is

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Paulo Pinto via Digitalmars-d-announce
On Monday, 29 June 2020 at 18:29:54 UTC, Russel Winder wrote: On Mon, 2020-06-29 at 12:41 +, Paulo Pinto via Digitalmars-d-announce wrote: […] Concepts, coroutines, and modules are already in ISO C++20. Only once the standard is voted in. :-) Also ranges are in I believe. And

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2020-06-29 at 12:41 +, Paulo Pinto via Digitalmars-d-announce wrote: […] > > Concepts, coroutines, and modules are already in ISO C++20. Only once the standard is voted in. :-) Also ranges are in I believe. > And co-routines are in a much better story than the incompatible >

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Patrick Schluter via Digitalmars-d-announce
On Monday, 29 June 2020 at 16:47:27 UTC, jmh530 wrote: On Monday, 29 June 2020 at 15:44:38 UTC, Patrick Schluter wrote: [snip] And that is completely wrong headed. +1 As much as I'm sympathetic to the arguments for a slim standard library, the amount of problems I've had in a corporate

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread jmh530 via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:44:38 UTC, Patrick Schluter wrote: [snip] And that is completely wrong headed. +1 As much as I'm sympathetic to the arguments for a slim standard library, the amount of problems I've had in a corporate setting trying to get libraries installed behind

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote: D has a GC. If you turn it off you lose dynamic/associative arrays, classes, probably something else. You just have to construct them with a function instead of with the built-in `new` operator. (Well, associative array will need a

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Dagmar via Digitalmars-d-announce
On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote: Of course C++ is now really a niche language used by those who still use it and do not move on to more modern languages! I am a C++ developer. I do want to move to a modern language, but there is no one that fits my needs. Rust has

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Patrick Schluter via Digitalmars-d-announce
On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote: On Mon, 2020-06-29 at 10:31 +, IGotD- via Digitalmars-d-announce wrote: Another rant… …batteries included standard libraries are a thing of the 1990s and earlier. They are a reflection of pre-Internet thinking. You got a

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Paulo Pinto via Digitalmars-d-announce
On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote: On Mon, 2020-06-29 at 10:31 +, IGotD- via Digitalmars-d-announce wrote: […] Back to C++20 and beyond which Herb Sutter refers to a lot. Is C++20 a success, or even C++17? Does anyone know this? Modern C++ isn't a programming

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Paulo Pinto via Digitalmars-d-announce
On Monday, 29 June 2020 at 10:31:43 UTC, IGotD- wrote: On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. Back to C++20 and beyond

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2020-06-29 at 10:31 +, IGotD- via Digitalmars-d-announce wrote: > […] > Back to C++20 and beyond which Herb Sutter refers to a lot. Is > C++20 a success, or even C++17? Does anyone know this? Modern C++ > isn't a programming standard so what I've seen is just a mix of > everything.

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread welkam via Digitalmars-d-announce
On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: To be honest the analysis doesn't quite stack up. Because compatibility is not the reason for the success of Go, or Rust. I would say the success of a language depends on many factors: Think of a reasons of why people are

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-29 Thread IGotD- via Digitalmars-d-announce
On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. Back to C++20 and beyond which Herb Sutter refers to a lot. Is C++20 a success, or

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-28 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 00:24:22 UTC, aberba wrote: On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: [...] * Community * Strong die hard advocate * Tutorials, learning resources Those are the stuff I personally think I can't contribute more. I meant opposite, jeez 

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-28 Thread aberba via Digitalmars-d-announce
On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. To be honest the

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-28 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. To be honest the analysis doesn't quite stack up. Because compatibility is not the

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-28 Thread Jesse Phillips via Digitalmars-d-announce
On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. He touches on, why we should have @safe by default and the importance of the C++

Talk by Herb Sutter: Bridge to NewThingia

2020-06-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk.