Write undistributed code that runs distributed

It's often useful to have an abstraction that lets us write code to one way to be silently executed in a different context. Such as writing synchronous code that actually runs asynchronously or concurrently.

YAML Interest

It's often useful to have an abstraction that lets us write code to one way to be silently executed in a different context. Such as writing synchronous code that actually runs asynchronously or concurrently.

In many languages we can write asynchronous code with the await keyword - which makes the code feel synchronous even though it is not.

Another example is to use a polyfilled library - which makes your code's execution environment behave as if it supports features that other environments have.

Or an emulator emulates an set of hardware that is not present. Or virtualization allows you to share a CPU between operating systems by allowing a pass through of CPU instructions with a memory trap.

I wonder if through a similar concept we can write code that looks like it's not distributed - single threaded and centralised but actually runs on multiple machines.

Developers dont want to rewrite their web applications in new languages or strange APIs.

We need ideas to benefit from distribution or P2P without actually having to re engineer everything we have.


No child categories.


Vote (Optional) (suppress notifications) (Optional)
Please, log in.

I created this category because skihappy raised the problem that we have where people want to reuse libraries on NPM and existing code to build distributed or P2P applications.

Without having to re write to an alien API or specification. This category is for ideas for how to retrofit existing applications to be distributed or P2P


Language