Родительские категории: Decentralisation with P2P software.

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 Вопрос

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.


Нет дочерних категорий.


Голос (Необязательно) (не уведомлять) (Необязательно)
Пожалуйста, войдите.

Я создал эту категорию, потому что skihappy поднял проблему, с которой люди хотят повторно использовать библиотеки в NPM и существующий код для создания распределенных или P2P-приложений.

Без необходимости повторной записи в чужой API или спецификацию. Эта категория предназначена для идей о том, как модифицировать существующие приложения для распространения или P2P.

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