Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Write a VFS in rust to avoid relying on the JS one #20

@insipx

Description

@insipx

If we write a VFS in rust and compile to webassembly, we can share that pointer with the sqlite to register the VFS and use it. This would be a performance boost since we don't need to cross the JS barrier for storage I/O operations, and would allow us to customize the VFS from rust rather than JS, allowing for more complex operations (maybe encryption, async, etc, allow finer-grained connection management?)

Roy has an extensive index of examples in the wa-sqlite repository, which can be used to model the Rust VFS: Example VFS's

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicEpic task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions