fivedots / storage-foundation-api-porting-tutorial Goto Github PK
View Code? Open in Web Editor NEWTutorial that shows how to port an example C++ application with Emscripten and NativeIO
License: Apache License 2.0
Tutorial that shows how to port an example C++ application with Emscripten and NativeIO
License: Apache License 2.0
This is interesting. I have been trying to deterine if it is possible to write STDOUT
from a shell script or native application directly to a WebAssembly.Memory
instance - and grow()
the instance if necessary - where the same SharedArrayBuffer
is exposed to JavaScript during the shell script or native application writing to the Memory
instance.
The use case is writing the output of parec -d <audio_device>
to a SharedArrayBuffer
instance while reading the data at the same time to output audio at an AudioWorklet
instance.
Further, beyond the initial use case of streaming audio the capability to run any shell script or native application where STDIN
is essentially an input SharedArrayBuffer
and STDOUT
from the shell script or native application is exposed to JavaScript in the form of a SharedArrayBuffer
during the output, then flushing the memory, see wasmerio/wasmer-php#121; https://bugs.chromium.org/p/chromium/issues/detail?id=1115640.
Can this, along with https://github.com/fivedots/nativeio-emscripten-fs and https://github.com/fivedots/nativeio-async-wrapper be used for the above described purpose?
Temporary place where out tutorial is hosted
should probably be
Temporary place where our tutorial is hosted
substituting "r" for "t".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.