__cplusplus User Group issueshttps://git.gsi.de/SDE/cxx-user-group/-/issues2022-10-13T07:42:33Zhttps://git.gsi.de/SDE/cxx-user-group/-/issues/35Are c++20 coroutines any useful to physicists?2022-10-13T07:42:33ZMatthias KretzAre c++20 coroutines any useful to physicists?the answer seems to be no, but I will try to share at least my understanding so farthe answer seems to be no, but I will try to share at least my understanding so farm.alfonsim.alfonsihttps://git.gsi.de/SDE/cxx-user-group/-/issues/28Discussion: return channel for errors?2022-01-12T10:51:46ZDennis Kleind.klein@gsi.deDiscussion: return channel for errors?Dennis Kleind.klein@gsi.deDennis Kleind.klein@gsi.dehttps://git.gsi.de/SDE/cxx-user-group/-/issues/24Distributed Compilation: Icecream2021-11-03T15:20:00ZMatthias KretzDistributed Compilation: IcecreamEveryone with localadmin bring a Laptop and we'll setup a huge icecream cluster :tada:Everyone with localadmin bring a Laptop and we'll setup a huge icecream cluster :tada:Matthias KretzMatthias Kretzhttps://git.gsi.de/SDE/cxx-user-group/-/issues/22Custom memory managment with STL containers2022-07-13T05:04:12ZDennis Kleind.klein@gsi.deCustom memory managment with STL containers* Some characteristics of (heap) memory in general
* Allocator concept
* Polymorphic Memory Resource
* Example: Arena-based memory allocation with STL containers* Some characteristics of (heap) memory in general
* Allocator concept
* Polymorphic Memory Resource
* Example: Arena-based memory allocation with STL containersDennis Kleind.klein@gsi.deDennis Kleind.klein@gsi.dehttps://git.gsi.de/SDE/cxx-user-group/-/issues/21std::variant — runtime dispatch and multiple dispatch complementing virtual f...2021-10-20T14:43:10ZMatthias Kretzstd::variant — runtime dispatch and multiple dispatch complementing virtual functionsIt would be helpful (but not required) to have a talk about constexpr if first.It would be helpful (but not required) to have a talk about constexpr if first.https://git.gsi.de/SDE/cxx-user-group/-/issues/18Undefined behavior — evil or blessing?2021-09-22T16:09:01ZMatthias KretzUndefined behavior — evil or blessing?- What is UB? Examples.
- similar concepts: unspecified behavior, implementation-defined behavior, conditionally supported
- What are the consequences of UB in a program?
- Why does C and C++ resort to undefined behavior?
- Advanced: Usi...- What is UB? Examples.
- similar concepts: unspecified behavior, implementation-defined behavior, conditionally supported
- What are the consequences of UB in a program?
- Why does C and C++ resort to undefined behavior?
- Advanced: Using UB for optimization
[intro.abstract]/4
> Certain other operations are described in this document as undefined (for example, the effect of attempting
to modify a const object). [Note: This document imposes no requirements on the behavior of programs that
contain undefined behavior. — end note]Matthias KretzMatthias Kretzhttps://git.gsi.de/SDE/cxx-user-group/-/issues/16Maintainability, Readability, Performance – What are we optimizing for?2021-07-20T16:10:11ZChristian TackeMaintainability, Readability, Performance – What are we optimizing for?We (as a community) write C++ mainly for two reasons:
* Because our toolchain, community forces us to use it (library X is written in C++, examples are in C++, our co-workers use it)
* For performance reasons
While writing the code, we ...We (as a community) write C++ mainly for two reasons:
* Because our toolchain, community forces us to use it (library X is written in C++, examples are in C++, our co-workers use it)
* For performance reasons
While writing the code, we might optimize for different goals:
* Maintainability (will I be able to change this code in 5 years? Will someone else be able to change the code now, if I can't do it?)
* Readability (In some sense, this might be a subset of Maintainability? What's the difference?)
* Correctness (avoiding errors. avoiding potnetially critical things, avoiding memory leaks, etc)
* …
The presentation might be rather short (10-15 min maybe?), topics:
* introduce the terminology
* relationships
* What to do, if you want to break one goal?
* Some example ideas like DRY, KISS, …
After that a rather open discussion would be really awesome.
Especially to help possible later talks to better target needs.https://git.gsi.de/SDE/cxx-user-group/-/issues/15using C++ compilers more effectively2021-07-20T11:41:08ZMatthias Kretzusing C++ compilers more effectively* compiler flags for code quality
* optimizer (vectorizer) feedback
* optimizing for speed
* optimization vs. correctness* compiler flags for code quality
* optimizer (vectorizer) feedback
* optimizing for speed
* optimization vs. correctnesshttps://git.gsi.de/SDE/cxx-user-group/-/issues/14member functions vs. non-member functions — OOP vs. data-oriented design2021-07-14T13:02:44ZMatthias Kretzmember functions vs. non-member functions — OOP vs. data-oriented designhttps://git.gsi.de/SDE/cxx-user-group/-/issues/11type traits and type transformations2021-07-14T12:49:26ZMatthias Kretztype traits and type transformations`is_same`, `is_arithmetic`, `is_const`, `is_constructible`, `is_convertible`, `remove_cv`, `remove_cvref`, `decay`, `common_type`, `type_identity`, `conjunction`, `is_constant_evaluated`, ...`is_same`, `is_arithmetic`, `is_const`, `is_constructible`, `is_convertible`, `remove_cv`, `remove_cvref`, `decay`, `common_type`, `type_identity`, `conjunction`, `is_constant_evaluated`, ...https://git.gsi.de/SDE/cxx-user-group/-/issues/10std::shared_ptr and std::weak_ptr2021-07-14T11:53:08ZMatthias Kretzstd::shared_ptr and std::weak_ptrShould be discussed soon after #6.Should be discussed soon after #6.https://git.gsi.de/SDE/cxx-user-group/-/issues/9lifetime and moves2021-07-14T12:59:55ZMatthias Kretzlifetime and movesHow do objects come into existence? When does the lifetime of an object end? When is lifetime extended? How are move semantics involved?How do objects come into existence? When does the lifetime of an object end? When is lifetime extended? How are move semantics involved?https://git.gsi.de/SDE/cxx-user-group/-/issues/7constexpr if2021-07-13T20:18:45ZMatthias Kretzconstexpr ifhttps://git.gsi.de/SDE/cxx-user-group/-/issues/5C++ Core Guidelines2021-07-19T19:23:54ZMatthias KretzC++ Core Guidelineshttps://git.gsi.de/SDE/cxx-user-group/-/issues/4Expression templates2021-07-14T13:01:20ZMatthias KretzExpression templates