Tagged With: Overload

(Not Really So) New Niche for C++: Browser!?

August 1, 2017 by “No Bugs” Bunny

(Not Really So) New Niche for C++: Browser!? - Post preview image

Quote:

asm.js has invented its own instruction set, which can be still seen as an instruction set of a CPU, at least from the point of view of a C++ compiler.

Another Quote:

As asm.js is a strict subset of JavaScript – it will run even if there is no special support for asm.js in browser.

Filed under: On.ProgrammingProgramming Languages

Read more

Ultra-fast Serialization of C++ Objects

May 16, 2017 by “No Bugs” Bunny

Ultra-fast Serialization of C++ Objects - Post preview image

Quote:

in both these cases we can be 100% sure that we’ll be deserializing this state on the executable which is identical to the executable which serialized the state.

Another Quote:

Even when comparing with home-grown code with per-field serialization, our Ultra-Fast Serialization still wins (up to 1.5x-2x)

Filed under: On.ProgrammingTips and TricksOptimizations

Read more

Some Big-Os are Bigger Than Others

February 21, 2017 by “No Bugs” Bunny

Some Big-Os are Bigger Than Others - Post preview image

Quote:

Strictly speaking, for real-world computers, every algorithm which completes in a finite time can be said to be O(1)

Another Quote:

now the difference because of unfortunate ‘jumps’ over (uncached at the time) memory can lead to a 100x+ (!) performance difference. However, it is still O(1) and is rarely taken into account during performance analysis

Filed under: On.ProgrammingOptimizations

Read more

Determinism: Requirements vs Features

December 26, 2016 by “No Bugs” Bunny

Determinism: Requirements vs Features - Post preview image

Abstract:

Apparently, in practice there is big difference between cross-platform determinism and same-executable determinism, both in abilities they can provide, and from implementation complexity point of view

Quote:

Cross-platform determinism is the strictest definition of determinism I know; not surprisingly, there are quite a few factors which can break it

Filed under: On.System Architecture(Re)ActorsOn.ProgrammingTips and Tricks

Read more