On.Programming
For most of us, programming (or more generally – software development) is all the life is about.
IT Hares are not different. And they have more than just quite a few bits to share about programming…
‘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 moreParallel Coding: From 90x Performance Loss To 2x Improvement
April 4, 2018 by • “No Bugs” Bunny
Quote:
as long as serial code provides good-enough response times from end-user perspective – DON’T PARALLELIZE
Another Quote:
out of all the premature optimizations, premature parallelization is the most premature one
Filed under: On.ProgrammingTips and TricksOptimizations
Read moreUsing Parallel (algorithm) Without a Clue: 90x Performance Loss Instead of 8x Gain
March 27, 2018 by • “No Bugs” Bunny
Abstract:
I made an experiment which demonstrates Big Fat Dangers(tm) of implying that parallelization can be made as simple as just adding a policy parameter to your std:: call.
Quote:
it is still necessary to understand what we’re doing
Filed under: On.ProgrammingTips and TricksProgramming LanguagesOptimizations
Read more



