Lukasz, could you tell if StorageOS <https://storageos.com> could be of help here?
Ivan On Thursday, April 23, 2015 at 11:48:34 AM UTC+3, Łukasz Adamczak wrote: > > I'm looking to implement a web application which combines 2 Emscripten > modules. > > Think an IDE with a text editor, an Assembler (module 1) and an Emulator > (module 2). > https://dl.dropboxusercontent.com/u/118061/neside/neside-flow.png > > The general flow I'm hoping to achieve: > > 1. Content of a <textarea> is written as a text file to the FS (manually > written JS). > 2. Emscripten module 1 ("Assembler"): > - reads the text file from the FS > - writes a bin file to the FS. > 3. Emscripten module 2 ("Emulator"): > - reads the bin file from the FS and acts on it > > I have successfully implemented both modules in isolation. > I can also use MODULARIZE=1 and EXPORT_NAME to include 2 modules in one > page. > > However in this setup, I am unable to access the filesystem and - much > less - share it across modules. > > I could use some help with the following: > > 1. How do I access "FS" when I use MODULARIZE=1? FS is not public and I > can't #readFile or #writeFile. > 2. Can the FS be shared across separate Emscripten modules? Or will I need > to write some glue code to: > - take data out of Assembler's FS > - put the data into Emulator's FS > > Thanks! > Łukasz > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/1fc9c48c-081f-49ca-a479-dcea2653ed82o%40googlegroups.com.
