Support for File System Access?

26 views
Skip to first unread message

Dieter Weidenbrück

unread,
Mar 27, 2023, 4:51:21 AM3/27/23
to emscripten-discuss
Hi,
are there any plans to support the File System Access API?

For webapps with the need for local file access this API looks very useful. For now, it is possible to use it on the JavaScript side and then hand things over to C, however, it would be excellent to do all this inside Emscripten to have direct access to file contents without copying (in my case, files may be large, e.g. several hundred MB).

Thanks for your excellent work!

Thomas Lively

unread,
Mar 27, 2023, 1:17:14 PM3/27/23
to emscripte...@googlegroups.com
There are no concrete plans to implement this, but it has been suggested before and is similar to work we have done. For any updates, you can follow the tracking issue we have for this: https://github.com/emscripten-core/emscripten/issues/12428.

One thing we do hope to do relatively soon is publish an API and documentation on how to write new WasmFS backends, which should make it much easier for community members to help out with things like this.

Best,

Thomas

--
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/ad965512-998a-4a5e-aaac-1950d41d02e1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages