You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to see about using isomorphic-git with lightning-fs and then use an emscripten-built assembler to output a file and then eventually call a linker.
However, I'm having trouble figuring out how exactly to go about interfacing lightning-fs's asynchronous nature with Emscripten's synchronous one.
I believe I can bridge the two by copying data from lightning-fs in memory to Emscripten's FS and going back and forth, but there has to be a better way... I'd like to ask for some guidance and possibly updated documentation with integrating an external asynchronous FS with Emscripten's, as I think it may not be that uncommon a use-case.
I also can't seem to find much documentation how to use WasmFS, though I've read it's partially implemented and may be sufficient even for this use-case.
The text was updated successfully, but these errors were encountered:
Related to: isomorphic-git/lightning-fs#117
I'm currently trying to see about using isomorphic-git with lightning-fs and then use an emscripten-built assembler to output a file and then eventually call a linker.
However, I'm having trouble figuring out how exactly to go about interfacing lightning-fs's asynchronous nature with Emscripten's synchronous one.
I believe I can bridge the two by copying data from lightning-fs in memory to Emscripten's FS and going back and forth, but there has to be a better way... I'd like to ask for some guidance and possibly updated documentation with integrating an external asynchronous FS with Emscripten's, as I think it may not be that uncommon a use-case.
I also can't seem to find much documentation how to use WasmFS, though I've read it's partially implemented and may be sufficient even for this use-case.
The text was updated successfully, but these errors were encountered: