Should I Lead by Example?WEBPDF
By Frances Buontempo
Stuck on a problem? Frances Buontempo considers where to turn to for inspiration.
Cache-Line Aware Data StructuresWEBPDF
By Wesley Maness and Richard Reich
Structuring your program to consider memory can improve performance. Wesley Maness and Richard Reich demonstrate this with a producer-consumer queue.
miso: Micro Signal/Slot ImplementationWEBPDF
By Deák Ferenc
The Observer pattern has many existing implementations. Deák Ferenc presents a new implementation using modern C++ techniques.
(Re)Actor Allocation at 15 CPU CyclesWEBPDF
By Sergey Ignatchenko and Dmytro Ivanchykhin and Marcos Bracco
(Re)Actor serialisation requires an allocator. Sergey Ignatchenko, Dmytro Ivanchykhin and Marcos Bracco pare malloc/free down to 15 CPU cycles.
How to Write a Programming Language: Part 2, The ParserWEBPDF
By Andy Balaam
We’ve got our tokens: now we need to knit them together into trees. Andy Balaam continues writing a programming language with the parser.
Compile-time Data Structures in C++17: Part 1, Set of TypesWEBPDF
By Bronek Kozicki
Compile time data structures can speed things up at runtime. Bronek Kozicki details an implementation of a compile time set.
By Chris Oldwood
Much ado about nothing. Chris Oldwood considers what we have when we have nothing.
Copyright (c) 2018-2023 ACCU; all rights reserved.