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…

Allocator for (Re)Actors with Optional Kinda-Safety and Relocation

August 15, 2017 by “No Bugs” Bunny

Effects of External Fragmentation on Memory Usage

Quote:

Safe with relocation’ mode will allow us to eliminate dreaded ‘external fragmentation’ – which tends to cause quite a bit of trouble for long-running systems

Another Quote:

For a long while, I have been a strong proponent of message-passing mechanisms over mutex-based thread sync for concurrency purposes

Filed under: On.System Architecture(Re)ActorsOn.ProgrammingOptimizations

Read more

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

August 1, 2017 by “No Bugs” Bunny

C++ in Browser

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

serialization: per-field vs whole struct

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

Production Crashes. Post-factum Debugging. Logging. Replayable Deterministic Re(Actors)

April 4, 2017 by “No Bugs” Bunny

Post-factum debugging

Quote:

I’ve seen game companies with hundreds of thousands of dollars lost per hour of unplanned server downtime.

Another Quote:

deterministic debugging is by far the best thing I have seen for production debugging.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.System Architecture(Re)ActorsOn.ProgrammingDebugging

Read more