Category: Technology



Often, we focus on novel, clever, and advanced features of C++. To contrast, here I look at addressing relatively simple problems in relatively simple ways under severe constraints of performance, ease of use, and reliability. My main example is to read and write typed objects from and to a byte buffer. This is of course something we do a lot and in a bewildering variety of ways. Any object that needs to be stored or transmitted to another computer must go through such a process. However, the constrains on such reading and writing varies immensely based on the kind of data to be moved around, the performance and reliability requirements, the hardware available, and history. Many trade-offs are possible, and many different interfaces. That makes this an interesting design exercise. This is an exploration of a design space close to the hardware and of the use of C++ in that space, rather than a standards proposal or the presentation of a mature tool chain. And, no, by “primitive”, I don’t mean “old-fashioned, C-like” code; some of the general techniques are old, but some of the code requires C++17 and much could be done better given features we are unlikely to get even in C++23. PUBLICATION PERMISSIONS:
CppCon Organizer provided Coding Tech with the permission to republish CppCon tech talks. CREDITS:
CppCon YouTube channel: https://www.youtube.com/channel/UCMlGfpWw-RUdWX_JbLCukXg INTERESTED IN THE STOCK MARKET?
I developed a profitable stock market trend following model. Information can be found here: https://bit.ly/3esse3R https://www.youtube.com/watch?v=5_haI4XVieg



Concurrency has a reputation for being complicated and hard to get right, even in Python. Fortunately, by using the "structured concurrency" programming model, it's possible to avoid many of the pitfalls inherent in more traditional thread-based and callback-based models. Trio is an async I/O framework that brings the
benefits of structured concurrency to Python. Built from the ground up to use
async/await natively, Trio makes it possible to write async software that is
robust and easy to reason about. In this talk I'll explain how Trio differs from its predecessors (such as
Twisted and asyncio), show that it leads to simpler code with fewer bugs, and hopefully convince you to give it try. *** INTERESTED IN THE STOCK MARKET?
I developed a profitable stock market trend following model. Information can be found here: https://bit.ly/3esse3R *** PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link: https://www.youtube.com/watch?v=y408pjAoxes https://www.youtube.com/watch?v=DwSwYLn5ye4



This presentation shows some of the reasons and scenarios why microservices fail. It is a recording from my talk at the Microservices Meetup London – thanks for having me! *** INTERESTED IN THE STOCK MARKET?
I developed a profitable stock market trend following model. Information can be found here: https://yuriymatso.com/my-market-model/​ *** PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link: https://www.youtube.com/watch?v=T67FU3RgmN0 https://www.youtube.com/watch?v=B3O-qYM-Kkw