sagemathinc / cowasm

CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
https://cowasm.org
BSD 3-Clause "New" or "Revised" License
482 stars 23 forks source link

sqlite doesn't work when using the filesystem #54

Open williamstein opened 1 year ago

williamstein commented 1 year ago

Currently the sqlite in cowasm works fine when used in memory. However, if you instead try to use it with the filesystem, there are problems.

I noticed that this post about yet another python.wasm build says they have a modified sqlite they build. Maybe it has a solution to my problem?

pauleveritt commented 1 year ago

When targeting browsers, a good article about Chrome, SQLite, and OPFS. I know cowasm is about more than browser though.