(Re)Actors

TBH, I am a big fan of actor- and reactor-like programming patterns (also known as Finite State Machines. While you’re not strictly required to use reactors and might be able to get away without them – they DO provide several very substantial benefits.

CAS (Re)Actor for Non-Blocking Multithreaded Primitives

July 23, 2018 by “No Bugs” Bunny

nano-(Re)Actors exchanging messages

Quote:

in 2017, I started to feel that the Dark Ages of mutex-based thread sync were over

Another Quote:

Another issue which almost universally rears its ugly head when speaking about not-so-trivial uses of CAS is the so-called ABA problem.

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

Read more

“Multi-Coring" and “Non-Blocking“ instead of "Multi-Threading" - with a Script

April 17, 2018 by “No Bugs” Bunny

slide 1

Abstract:

My talk at ACCU2018

Filed under: On.System Architecture(Re)ActorsOtherAnnouncements

Read more

Eight Ways to Handle Non-Blocking Returns in Message-Passing Programs - with Script

October 3, 2017 by “No Bugs” Bunny

slide 1

Filed under: On.System Architecture(Re)ActorsOtherAnnouncements

Read more

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