openPMD / openPMD/openPMD-api

Compile-Target: JS/WebASM|wasm

Open
#295 2 comments 0 reactions 0 assignees View on GitHub
frontend: JavaScript good first issue help wanted machine/system third party
Dominant language
C++
Stars
161
Forks
59
Avg merge
2d 22h
Merged PRs (30d)
7

Description

It would be quite interesting, e.g with a JSON #65 backend, to compile the library for JS or JS hooks. This would allow efficient usage in browsers and node.js applications.

There are several ways to do this, e.g.:

- directly compile to JS via [emscripten](https://github.com/kripken/emscripten) (prob. slow)
- compile to [Web Assembly](https://webassembly.org/docs/faq/), e.g. via [clang's `--target=wasm32`](https://gist.github.com/yurydelendik/4eeff8248aeb14ce763e)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.