JSPM

ems-typed

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29
  • Score
    100M100P100Q66765F
  • License BSD-3-Clause

Persistent Shared Memory and Parallel Programming Model

Package Exports

  • ems-typed

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ems-typed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

OSX | Linux | Node 4.1-14.x, Python2/3: Build Status npm version

Extended Memory Semantics (EMS)

EMS makes possible persistent shared memory parallelism between Node.js, Python, and C/C++.

Extended Memory Semantics (EMS) unifies synchronization and storage primitives to address several challenges of parallel programming:

  • Allows any number or kind of processes to share objects
  • Manages synchronization and object coherency
  • Implements persistence to non-volatile memory and secondary storage
  • Provides dynamic load-balancing between processes
  • May substitute or complement other forms of parallelism

original package

ems

updates:

add TypedArray support.

// node.js
const img = new Uint8Array(1920*1080*4);
shared.writeEF('img', img);

// python
img = shared.readFE('img')
print(len(img))

build

// node.js
npm run build

// python
sudo make clean_py3
sudo make py3