Skip navigation

As mechanical engineers learned long ago, there is much we human scientists can glean from nature (and then improve upon) which is applicable to our innovative endeavors.  This is true also for software engineers… to that end, I present the first in a series of nature inspired programming strategies, partly for laughs, mostly serious 🙂

Digimals::Octopus Oriented Programming := a multi-threaded (at least 8) application design pattern where processing and resource sharing is managed by a single amorphous semaphore



  1. A single amorphous semaphore, you say. How’s that different from a regular counting semaphore? Or do you mean a structure with 8 binary sempahores in it (which are each basically mutex locks)?

    • Well the amorphous qualifier was mostly meant to refer to the octopus’ ability to reshape its head to fit through variable environments… but that property could apply to a semaphore variant as well– for example, you might initialize it with a variadic template and, if heapspace gets tight, deallocate some attributes (cephalopod shrink). They can be reallocated later when the environment is friendlier (cephalopod expand). Think like an octopus!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: