Skip to content

Target WASM runtimes where wasm-bindgen is not available #471

@ilbertt

Description

@ilbertt

Is your feature request related to a problem? Please describe.
I'm trying to run an RDF database and expose a SPARQL endpoint on an Internet Computer canister. For this reason, the features I'd need the most from oxigraph are the database and the SPARQL parser.
However, but I keep getting this error when deploying it:

Module imports function '__wbg_getRandomValues_3774744e221a22ad' from '__wbindgen_placeholder__' that is not exported by the runtime.

From what I understand, this means that the canister runtime doesn't expose wasm-bindgen library.

Describe the solution you'd like
I'm not that expert in Rust and compiling it to WASM, hence I don't know exactly if it would be possible to avoid the usage of wasm-bindgen and what effort it could it take.

Describe alternatives you've considered
I've tried sophia, which compiles and runs smoothly, but is missing the SPARQL parser. Is there a way to use oxigraph's parser with sophia?

Additional context
I'd suggest you to dive into the Internet Computer documentation, because I see a great potential here to enable decentralized RDF databases that can have various applications like decentralized social media platforms, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions