Skip to content

Question: Can kuzu embedded run in the browser via WASM? #3327

Closed Answered by mewim
ShravanSunder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ShravanSunder,

Thanks for your interest. I think you are referring to https://github.com/duckdb/duckdb-wasm, which support running DuckDB inside browser. I started some preliminary work on getting a wasm version of Kùzu on https://github.com/kuzudb/kuzu/tree/emcc-test, but it does not quite work right now as Kùzu’s current buffer manager uses memory mapping and requires support of MADV_DONTNEED, which is not available for wasm right now. Later this year, we may work on an alternative version of buffer manager which does not depend on memory mapping so that wasm can be supported. I will convert this issue into a discussion and let you know when wasm support is available.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ShravanSunder
Comment options

@prrao87
Comment options

Answer selected by prrao87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3326 on April 19, 2024 16:15.