Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ems-typed

homfen62BSD-3-Clause1.0.0TypeScript support: included

Persistent Shared Memory and Parallel Programming Model

non volatile memory, NVM, NVMe, multithreading, multithreaded, parallel, parallelism, concurrency, shared memory, multicore, manycore, transactional memory, TM, persistent memory, pmem, Extended Memory Semantics, EMS

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

changelog

1.0.0 / 2017-07-06

  • update "mocha" to v3
  • fixed unicode URI decoding (#6)
  • add typings for Typescript
  • README: use SVG Travis-CI badge
  • add LICENSE file (MIT)
  • add .travis.yml file (testing Node.js 0.8 through 8 currently)
  • add README.md file

0.0.2 / 2014-01-27

  • index: invert the path separators on Windows

0.0.1 / 2014-01-27

  • initial commit