Open
Description
a serious limitation of downstream libraries like sql.js is inability to persist largish databases (e.g. 1gb) to local filesystem.
that might finally be overcome with newly proposed https://wicg.github.io/file-system-access (note spec's motivation appears mainly saving data in web-editors and ides).
they have an experimental demo here
feasibility question - what additional spec read/write features are needed to integrate emscripten with file-system-access?
spec's current read/write capabilities are (from what i gather):
read
- await FileSystemHandle.file() // method returns blob/file object
write
- await FileSystemWritableFileStream.write(data)
- await FileSystemWritableFileStream.write({ type: "write", data: data })
- await FileSystemWritableFileStream.write({ type: "write", position: position, data: data })
- await FileSystemWritableFileStream.write({ type: "seek", position: position })
- await FileSystemWritableFileStream.write({ type: "truncate", size: size })
Metadata
Metadata
Assignees
Type
Projects
Status
No status