Tagged With: C/C++

Using Parallel (algorithm) Without a Clue: 90x Performance Loss Instead of 8x Gain

March 27, 2018 by “No Bugs” Bunny

Using Parallel (algorithm) Without a Clue: 90x Performance Loss Instead of 8x Gain - Post preview image

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

On Programming Language Complexity, or Our Brain as a CPU with 7+-2 Registers

March 20, 2018 by “No Bugs” Bunny


Quote:

Let’s consider our brain as a CPU, which consists of the control unit, ALU, and 7+-2 registers.

Another Quote:

Moving C++ one step farther from being a brainfuck is IMNSHO always a Good Thing(tm)

Filed under: On.ProgrammingProgramming Languages

Tagged With: C/C++GCC/Clang
Read more

A Usable C++ Dialect that is Safe Against Memory Corruption

March 14, 2018 by “No Bugs” Bunny

A Usable C++ Dialect that is Safe Against Memory Corruption - Post preview image

Quote:

we DID get a perfectly usable C++ dialect which is also 100% safe against memory corruption and against memory leaks.

Another Quote:

we can (and often SHOULD) have different approaches to safety of the Reactor::react() and the rest of the code.

Filed under: On.ProgrammingProgramming Languages

Read more

C++: Thoughts on Dealing with Signed/Unsigned Mismatch

March 6, 2018 by “No Bugs” Bunny

C++: Thoughts on Dealing with Signed/Unsigned Mismatch - Post preview image 0U" width="inherit" height="inherit">

Quote:

we’re just narrowly avoiding a disaster without understanding how close we were

Another Quote:

there is a chance that intuitive::lt MIGHT be a good thing to make behaviour of our C++ code to correspond better to our-expectations-when-we’re-reading-it

Filed under: On.ProgrammingTips and TricksProgramming LanguagesOptimizations

Tagged With: C/C++GCC/Clang
Read more