All posts by rossb

Lost in the flood #1: programming, Japanese gardens, music, machine learning

The problem: an ever expanding set of Chrome tabs of read/study/watch/respond-to later material. I’m trying a new solution: put the links in a blog post, write why I haven’t closed the tabs, close the tabs. (And come back to them later. Maybe.) Let’s go. What is embodied programming? blog post by Alex McLean (@yaxu). Alex read more »

A brief meditation on two-party message exchange

When two parties communicate, what are the possible patterns of message exchange? Here’s what I’ve come up with so far: (Updated June 22, 2013 with causality arrows, failure modes, sequences and reordering, streams, non-deterministic communication.) Send Also known as: procedure call, one-way, unidirectional, post, fire and forget, In-Only, Out-Only, request (R), trigger, event, notification, command, read more »

Programming with lightweight asynchronous messages: some basic patterns

This post introduces some basic asynchronous message passing patterns that I’ve found useful while implementing real-time audio software. The patterns apply to in-process shared memory message passing. For the most part this post is intentionally abstract. I won’t talk too much about concrete implementations. I do assume that the implementation language is something like C/C++ and that the message queues are implemented read more »