Meeting Cpp
Modular Slang Shader Factory in C++ - Oleksandr Volinskyi
updated
Thanks to Bjarne Stroustrup for being our guest at the final AMA at Meeting C++ 2022!
Survey: survey.meetingcpp.com
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Thanks for coming and answering all the questions Andrei!
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Modern computer architectures have many properties that can impact software performance. While the compiler is generally good enough at "in-core" optimizations such as instruction selection and various loop optimizations, most memory acceleration techniques cannot work optimally without some help from the programmer. This talk draws a picture of what every C++ developer needs to know about modern memory systems to perform these kinds of optimizations by presenting a series of small code examples and benchmarking their performance — often producing surprising results — experimentally deriving key memory characteristics and highlighting different CPU cache effects.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
WebAssembly is an interesting environment, especially for C++ programmers. With tools like Emscripten becoming better and better and game development libraries starting to add support for WebAssembly it is worth taking a look into this world.
We will go over what WebAssembly is, how a development environment might look like and then make a simple game that will run in the browser using C++. While making the game we will hit a few hurdles that are unique to WebAssembly and see how they can be overcome.
After this talk, you should have a good overview of WebAssembly and how it can be used to solve problems (not only game related). This talk targets intermediate C++ programmers and no experience of game development is required.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Where do you begin when you are writing your first multithreaded program using C++20? Whether you've got an existing single-threaded application, or you're starting from scratch, C++20 provides the basic tools to help. In this talk we'll look at the C++20 facilities you should reach for first, and how to use them safely.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
With C++20 constexpr compiler support for dynamic memory allocation, and library support for std::vector/std::string now widely available (MSVC 19.29 (VS16.11), GCC 12.1's standard library (libstdc++), and accessible via Clang), a future C++ standard library can be foreseen, where every function and member function supports constant evaluation.
In this talk we introduce the C'est library project, which adds constexpr support to a range of familiar class templates modelled after the C++ standard library. We highlight an update to the C'est architecture, which aims to simplify the integration of C'est within projects targeting constexpr support. Example projects are also presented including a compile-time compiler (poacher); and Metamath proof database verifier; as well as some more recent developments.
Such parity between compile-time and run-time programming offers advantages in terms of increased programmer productivity; nevertheless, compilation times can increase by a significant factor. To measure progress, we also present CTBench: a set of tools to facilitate comprehensive compile-time benchmarking; based on Clang's time-trace feature.
This video was prerecorded in the studio for Meeting C++ 2022.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
A Petri net is a particular type of directed bipartite graph (or digraph) together with an initial state called initial mark. It contains two types of nodes, places and transitions. The idea of this talk is to develop the essential concepts of petri nets, to demonstrate how it can be expressed mathematically and its applications in computer science.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Are you tired of needing 50 files open to be able to understand what a single component does?
Do you find yourself wanting to change a component, then to realise that you’ll have to touch half of the code base?
Do you want to write simple tests which easily allow to verify your implementation?
Join this talk to learn an effective way to manage the dependencies through dependency injection and never have to worry about those problems again!
In this talk we’ll explore an approach and several techniques to perform dependency injection in C++, with the goal of having decoupled components which can be easily refactored and tested.
We’ll see how to manage both dependencies on data and dependencies on behaviours. We'll explore in which situations each can be used, and we'll see which libraries offer functionality to make the developer's life easy.
The talk will cover how to write components to take dependencies in an effective way and how to propagate them.
It will additionally cover more complicated cases, where components depend on multiple other components, and also how to handle deferred instantiation of dependencies (factories yay!!).
This is a concrete, practical talk which we'll give you a strategy for managing dependencies.
Join along to see how the typical code from production can be changed, and simplified, following this approach!
Github: github.com/OptimumCpp/short_function
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
A short review of the path that made std::function possible, its application, requirements, downsides and alternatives. A breif eplanation of observer pattern and traditional callback systems through function pointers. And a short disscution on existing libraries and some vendor specific compiler extentions for functions.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Polyrepo environments have been gaining popularity as the ergonomics of package managers such as Conan or vcpkg improve, giving teams the desired autonomy and independence. Despite that, a polyrepo environment is not a one size fits all solution. Choosing a monorepo might be the perfect match for your organization.
In this talk I will walk you through:
The upsides and downsides of choosing a monorepo or polyrepo environment.
How to use Bazel for an ergonomic monorepo configuration.
How to adjust your git workflow to match.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Conan C++ package manager from JFrog: the open source, distributed and universal way of managing your dependencies and your binaries, used by thousands of companies in the world. With the Conan 2.0 release rapidly approaching it's time to learn about the new features that can vastly improve your workflows. One of the most important changes is the new graph model which address real world use cases. Plugin and Extenstions are going to allow user to tailor Conan to their exact use case allowing for even more flexibility.
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Free up your C++ code to work on multi-accelerator systems from any vendor.
It is easy to use C++ not only for CPU, but also for GPU, FPGAs and other accelrator.
oneAPI industry initiative is taking C++ to a heterogeneous and parallel computing future with SYCL.
SYCL takes programmers out of proprietary languages to an open-source open-vendor cross device world.
Understand the motivation and the vision behind SYCL, learn and see demos of the basics of SYCL to get started. And hear success stories from companies, universities and national labs who are already using SYCL.
Sean Parents website: sean-parent.stlab.cc
Join Meeting C++ online: meetup.com/Meeting-Cpp-online
Meeting C++ weekly blogroll 353 - meetingcpp.com/blog/blogroll/items/Meeting-Cpp-weekly-Blogroll-353.html
Meeting C++ online job fair: meetingcpp.com/mcpp/online/jobfair.php
meetingcpp.com/2022
Nico Josuttis - Author and trainer for C++ (http://cppstd20.com,
http://cppstd17.com, http://cppstdlib.com,
http://cppmove.com, http://tmplbook.com)
Meeting C++ 2022: meetingcpp.com/2022
Meeting C++ Blogroll 351 meetingcpp.com/blog/blogroll/items/Meeting-Cpp-weekly-Blogroll-351.html
The old new thing - Why is there a make_unique? devblogs.microsoft.com/oldnewthing/20221019-00/?p=107300
All major C++17 features you should know cppstories.com/2017/01/cpp17features
Meeting C++ community survey survey.meetingcpp.com
Meeting C++ online: meetup.meetingcpp.com
Link to blogroll: meetingcpp.com/blog/blogroll/items/Meeting-Cpp-weekly-Blogroll-348.html
Article link: blog.llvm.org/posts/2022-08-14-libc++-format
Lib fmt: fmt.dev and on github: github.com/fmtlib/fmt
Link to Marek Krajewski blog with guest post by Victor Zverovich http://ib-krajewski.blogspot.com/2022/09/guest-post-extraterrestrial-guide-to.html
Herb Sutters post: herbsutter.com/2022/09/19/my-cppcon-2022-talk-is-online-can-c-be-10x-simpler-safer
CppFront on Github: github.com/hsutter/cppfront
Link to the blogroll: meetingcpp.com/blog/blogroll/items/Meeting-Cpp-weekly-Blogroll-347.html
To the job fair page: jobfair.meetingcpp.com
Integrating C++ header units into office devblogs.microsoft.com/cppblog/integrating-c-header-units-into-office-using-msvc-1-n
Rainer Grimms Post on Header Units: modernescpp.com/index.php/c-20-modules-private-module-fragment-and-header-units
Subscribe to the weekly blogroll: meetingcpp.com/mcpp/user/register.php?source=newsletter
Join the Meeting C++ online job fair: meetingcpp.com/mcpp/online/jobfair.php
This is the presentation from todays livestream on LinkedIn
C++23's new function syntax - elbeno.com/blog/?p=1696
P2128 - open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2128r6.pdf
mdspan - en.cppreference.com/w/cpp/header/mdspan
This weeks blogroll - meetingcpp.com/blog/blogroll/items/Meeting-Cpp-weekly-Blogroll-345.html
Subscribe to the weekly blogroll: meetingcpp.com/mcpp/user/register.php?source=newsletter
Meeting C++ 2022: meetingcpp.com/2022
Meeting C++ online: meetup.meetingcpp.com
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Meeting C++ 2022: meetingcpp.com/2022
Meeting C++ online: meetup.meetingcpp.com
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Meeting C++ 2022: meetingcpp.com
Meeting C++ online: meetup.meetingcpp.com
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Meeting C++ 2022: meetingcpp.com/2022
Meetnig C++ online: meetup.meetingcpp.com
Survey: survey.meetingcpp.com
Meeting C++ online: meetup.meetingcpp.com
Meeting C++ 2022: meetingcpp.com/2022
Survey: survey.meetingcpp.com
Join the online C++ User Group: meetup.meetingcpp.com
Take the survey: survey.meetingcpp.com
Join Meeting C++ online: meetup.com/meeting-cpp-online
Submit your talk to Meeting C++ 2022: meetingcpp.com/mcpp/submittalk
Talking you through the process of talk submission for Meeting C++ 2022. Giving you some of my insights and opinions on this a long the way.
Kate talks about the importance of actually finishing your talk at the end.
Patricia tells us how to engage with the audience by telling a story.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Chandler shows us how to plan, practice and give a live demo during a talk, and does so with his very own live demo on giving live demos.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Clare talks about preparing code examples in your slides. How to add special highlighting and a trick to make this more efficient.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
How does one present code in a talk on the slides? Code on slides is more then just code, its often the main part of a talk. Which visual methods should you choose and what other things you might want to think about? How do you highlight the part of your code you're talking about? How do you ensure that folks can read your code on the slide under various conditions?
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Andrei talks about presentation techniques that actually work.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Hendrik shows us how to keep all the information that goes in your talk together. An introduction to note taking and research with the digital Zettelkasten method and other useful tools for preparing talks.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Inbal Levi is talking about taking your talk idea to the next level: visualizing what you're trying to say in slides. Using visualization and minimalization to create a technical talk which is both approachable, and allows expressing yourself in the content.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Did you ever want to give a conference talk but you struggle to find topics to talk about? That's how lots of people feel. In this talk I share some ideas on how you can find a topic for a talk. I hope you will get inspired and I can watch your conference talk soon.
One of 9 lightning talks about preparing and giving talks
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com
Watch the lightning talks first: youtube.com/watch?v=rHWG9XBko0I
Submit your talk to Meeting C++ 2022 meetingcpp.com/mcpp/submittalk
This event will focus on the process of creating technical talks for the C++ community. Various speakers will share their views on how to submit, prepare and give talks to the C++ community in the form of lightning talks.
Lightning Talks:
Tina Ulbrich - But I have nothing to talk about! 1:55
Inbal Levi - Distilling your message 7:44
Hendrik Niemeyer - Doing research on your talks with Zettelkasten (and some tools) 13:10
Andrei Alexandrescu - Stop working on your slides 21:00
Jens Weller - Presenting Code 39:02
Clare Macrae - Better Code Samples in Programming Talks 47:51
Chandler Carruth - About giving live demos 1:02:35
Patricia Aas - Telling a story 1:11:45
Kate Gregory - How to end a talk 1:23:55
Meeting C++ online meetup.meetingcpp.com
Take the survey: survey.meetingcpp.com
Talk description
I hate the term “Design Patterns”. It implies there are universally applicable solutions to some common code scenarios. Just codifying existing practice into some rules and blindly following them is a comfortable path, but not the optimal one. It turns out it’s not as easy as following recipes. Each situation and best associated solution is unique. However there is value in having uniform code structure throughout a project. So this topic is not to be discarded just yet, rather it needs more careful examination. In terms of inspectable properties of objects, what have we learned from years of OO influence from other languages and frameworks? How can we leverage these borrowed techniques in a value-oriented context? Does C++ benefit from special considerations? I think it’s time to revisit our old friend, the Observer pattern - from “theory” to practice. I’m not going to offer The Solution, rather we’re going to examine tradeoffs for several possible implementations, in various usage scenarios from a real project.


