“No Bugs” Bunny
C++: On Using int*_t as Overload and Template Parameters
May 14, 2018 by • “No Bugs” Bunny
Quote:
We decide which set of types we’re using (fundamental or int*_t), and use it consistently
Another Quote:
The only thing we’re doing here, is changing the name of the type, NOT its behavior
Filed under: On.ProgrammingTips and TricksProgramming Languages
Tagged With: C/C++
Read moreQuick Update on C++ Compiler Bug Hunt (overall, 15 bugs reported, 8 already fixed)
May 8, 2018 by • “No Bugs” Bunny
Some time ago, I wrote a post about kscope – mini-project on finding and reporting bugs in modern C++ compilers. The point was that there is a way to use C++ facilities to make C++ code self-mutating (more strictly – pseudo-randomized using externally supplied ITHARE_KSCOPE_SEED macro), which allows finding certain classes of bugs during randomized […]
‘Speedy Gonzales’ Serializing (Re)Actors via Allocators
May 1, 2018 by • “No Bugs” Bunny
Quote:
Allocator-based serialization for (Re)Actors is extremely fast (for x64 – around tens of ms per 100MB of state)
Another Quote:
Per-(Re)Actor allocators can be implemented without any changes within (Re)Actor itself (i.e. all the necessary changes can be confined to Infrastructure Code).
Filed under: On.ProgrammingProgramming LanguagesOptimizations
Read moreParallel STL for Newbies: Reduce and Independent Modifications
April 26, 2018 by • “No Bugs” Bunny
Quote:
with std::reduce() such code, while it compiles at least under MSVC, MAY occasionally provide wrong results
Another Quote:
if you happen to need something beyond that – take a deep breath and allocate at least several months to understand how does parallelism really work under the hood.
Filed under: On.ProgrammingTips and TricksOptimizations
Read more



