Re: Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
On Thursday, 11 April 2024 at 01:21:41 UTC, Walter Bright wrote: Wow! Talking at ACCU is an honor. I'm so pleased you're doing this! Thank you all! The talk was well received, and I've challenged folks to try D for an hour through the D Lang Tour. :) Slides are available below, and I believe the video of the talk will be posted in the coming months for free on YouTube. https://mshah.io/conf/24/ACCU%202024%20_%20How%20DLang%20Improves%20my%20Modern%20C++%20and%20Vice%20Versa.pdf
Re: Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
My favorite example is glibc implementation of `putenv` function: it first finds the '=' character and takes a temporary slice of the variable name and then employs a tortured null terminated string cope trying to allocate a string with alloca or malloc, then copies the slice there and passes the resulting null terminated string to common `setenv` implementation, then cleanups the allocated string. And there I thought: "ugh, dude, what are you doing, just pass the slice as is".
Re: Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
On 4/7/2024 6:38 PM, Mike Shah wrote: I'll be talking more about D (and modern C++) at the ACCU 2024 conference in Bristol (Abstract below -- talk is on April 19, 2024). Let me know if you'll be joining (in-person or online)! The recording of the talk will otherwise be posted after the talk, and slides will immediately be available on my website after the talk is given. https://accuconference.org/session/how-dlang-improves-my-modern-cpp-and-vice-versa ABSTRACT: The D programming language (DLang) is a multi-paradigm language (like C++) developed to solve real software engineering problems. DLang has a rich history since its inception in 2001, and continues to be an actively evolving memory-safe language used in industry. In this talk, I will discuss how learning and using the D language has directly benefited my use and learning of C++ and vice versa. We'll look at the evolution of both C++ and Dlang, and see how each language has borrowed from each other during their most recent evolution in the past decade. Throughout the talk, I will provide side-by-side code comparisons showing idiomatic ways to complete tasks in D alongside C++ code examples. The goal of this talk however is not to pit one language against the other, but rather to show how to use each language to its strengths and learn how to become a better programmer. Audience members are expected to be familiar with Modern C++, but are not expected to have any prior D programming experience. Wow! Talking at ACCU is an honor. I'm so pleased you're doing this!
Re: Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
On Monday, 8 April 2024 at 01:38:20 UTC, Mike Shah wrote: I'll be talking more about D (and modern C++) at the ACCU 2024 conference in Bristol (Abstract below -- talk is on April 19, 2024). +1
Re: Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
On Monday, 8 April 2024 at 19:45:05 UTC, Emmanuel wrote: On Monday, 8 April 2024 at 01:38:20 UTC, Mike Shah wrote: I'll be talking more about D (and modern C++) at the ACCU 2024 conference in Bristol (Abstract below -- talk is on April 19, 2024). [...] great piece Mike! +1
Re: Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
On Monday, 8 April 2024 at 01:38:20 UTC, Mike Shah wrote: I'll be talking more about D (and modern C++) at the ACCU 2024 conference in Bristol (Abstract below -- talk is on April 19, 2024). [...] great piece Mike!
Upcoming ACCU 2024 Talk: How DLang Improves my Modern C++ and Vice Versa
I'll be talking more about D (and modern C++) at the ACCU 2024 conference in Bristol (Abstract below -- talk is on April 19, 2024). Let me know if you'll be joining (in-person or online)! The recording of the talk will otherwise be posted after the talk, and slides will immediately be available on my website after the talk is given. https://accuconference.org/session/how-dlang-improves-my-modern-cpp-and-vice-versa ABSTRACT: The D programming language (DLang) is a multi-paradigm language (like C++) developed to solve real software engineering problems. DLang has a rich history since its inception in 2001, and continues to be an actively evolving memory-safe language used in industry. In this talk, I will discuss how learning and using the D language has directly benefited my use and learning of C++ and vice versa. We'll look at the evolution of both C++ and Dlang, and see how each language has borrowed from each other during their most recent evolution in the past decade. Throughout the talk, I will provide side-by-side code comparisons showing idiomatic ways to complete tasks in D alongside C++ code examples. The goal of this talk however is not to pit one language against the other, but rather to show how to use each language to its strengths and learn how to become a better programmer. Audience members are expected to be familiar with Modern C++, but are not expected to have any prior D programming experience.