Skip to content

Can kuzu work with pyodide? #4097

Closed Answered by mewim
Analect asked this question in Q&A
Aug 16, 2024 · 5 comments · 2 replies
Discussion options

You must be logged in to vote

@Analect,
The current version of kuzu should be buildable with the Emscripten compiler without any change. However, as we pointed out in #3327, Kùzu’s current buffer manager uses memory mapping and requires support of MADV_DONTNEED, which is not available for wasm right now. We worked with @DylanShang a bit when he worked on his WASM version, but I do not think his current implmentation resolves this problem yet. In production use, the lack of eviction can lead to crash eventually, and I would suggest against attempting to use Kùzu with WASM until we officially support it.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@prrao87
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Analect
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mewim
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants