Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Success stories compiling databases? #133

Closed
armarti opened this issue Jan 31, 2019 · 4 comments
Closed

Success stories compiling databases? #133

armarti opened this issue Jan 31, 2019 · 4 comments
Labels
❓ question I've a question!

Comments

@armarti
Copy link

armarti commented Jan 31, 2019

This is a very interesting project, and I’m searching for a way to use it.

I’d really like to try building a graph database in a browser. ArangoDB is a graph database built on C++ and javascript so it seems like a nice place to start.

Question is, have you been able to build any other native DBs with wasmer, e.g. postgres or sqlite?

@syrusakbary
Copy link
Member

@armarti we are working on getting SQLite working with wasmer (compiled with emscripten).
Here's an example of how to compile SQLite to be executed browser-side: https://github.com/mandel59/sqlite-wasm/

You can probably use Emscripten as well to compile ArangoDB to WebAssembly, and run it on the browser. Or use wasmer to execute it server-side :)

@syrusakbary syrusakbary added the ❓ question I've a question! label Jan 31, 2019
@armarti
Copy link
Author

armarti commented Jan 31, 2019

Right of course, that's what I meant. Thanks a ton for the links. I'll have a look.

@syrusakbary
Copy link
Member

As of right now, we were able to compile and successfully run the following DBs:

Both are actually usable from the native wapm CLI (installed when installing Wasmer) and also the online WebAssembly shell.

@syrusakbary
Copy link
Member

Closing the issue. Future readers: feel free to comment here with use cases of DBs in WebAssembly!

nlewycky pushed a commit that referenced this issue Aug 13, 2020
…externtypeinner

feat(api) Remove the `WasmExternTypeInner` trait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question I've a question!
Projects
None yet
Development

No branches or pull requests

1 participant