digitalmars.D - CPPCON 2020, what do you think of the topics?
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (11/11) Oct 06 2020 I just watched some of the presentations, many were rather thin
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (34/37) Oct 09 2020 In case someone are interested. Here are the ones that I think
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (7/7) Oct 10 2020 This one is also quite interesting considering the recent
I just watched some of the presentations, many were rather thin on content, but some might be informative and give food for thought. There was one that went in depth on move semantics and some challenges there that lead to new language additions that ought to be uneccessary IMO. Also the way they specify concepts is interesting to think about. There seems to be some enthusiasm around ranges, but there was also a presentation on a library called pipes that turned out to be little more than a pipe-like syntax for function calls. Anyway, if ranges-like APIs are fashionable, maybe this is a good time to innovate in that area by comparing and contrasting various approaches?
Oct 06 2020
On Tuesday, 6 October 2020 at 19:38:52 UTC, Ola Fosheim Grøstad wrote:I just watched some of the presentations, many were rather thin on content, but some might be informative and give food for thought.In case someone are interested. Here are the ones that I think might be of interest to some D programmers/compiler enthusiasts. Below is a link to a presentation that goes over C++ move semantics and some odd cases that has resulted in some, in my opinion unfortunate language additions. Since there is a lot of talk of move semantics in the D forums, this might be informative. The Hidden Secrets of Move Semantics - Nicolai Josuttis https://youtu.be/TFMKjL38xAI Atomics with relaxed memory order is more problematic than you might think. Should be as relevant for D compiler devs as C++. A Relaxed Guide to memory_order_relaxed - Paul E. McKenney & Hans Boehm https://youtu.be/cWkUqK71DZ0 Another presentation of Halide, which basically just constructs an AST in C++, are there any bindings that are up to date? Halide: A Language for Fast, Portable Computation on Images and Tensors - Alex Reinking https://youtu.be/1ir_nEfKQ7A Might be useful for those interested in C++ interop. I guess some constructs could be difficult to map to D. C++20: An (Almost) Complete Overview - Marc Gregoire: https://youtu.be/FRkJCvHWdwQ I don't really feel ranges is a good fit for C++, but the two presentations under gives an impression of two approaches. The last one is basically just syntactical. C++20 Ranges in Practice - Tristan Brindle: https://youtu.be/d_E-VLyUnzc Pipes: How Plumbing Can Make Your C++ Code More Expressive - Jonathan Boccara: https://youtu.be/oYEpf5A2qrE Any thoughts? My immediate thought is that C++ is soon at a level where it will be near impossible to pick up for beginners.
Oct 09 2020
This one is also quite interesting considering the recent discussion of new semantics for "in" parameters. Herb Sutter suggests ADA-like syntax and semantics with parameter keywords "in", "inout", "out", "move", and "forward". Empirically Measuring, & Reducing, C++’s Accidental Complexity - Herb Sutter - CppCon 2020 https://youtu.be/6lurOCdaj0Y
Oct 10 2020