3 ms·
Interactive (in your browser via WebAssembly) demo is here: https://www.endatabas.com/demo https://www.endatabas.com/demo Follow the tutorial at https://docs.e
by simonw 3y ago
Interactive (in your browser via WebAssembly) demo is here: https://www.endatabas.com/demo https://www.endatabas.com/demo
Follow the tutorial at https://docs.endatabas.com/tutorial/sql_basics https://docs.endatabas.com/tutorial/sql_basics - so start with this:
insert into posts (id, user_id, text) values (123, 456, 'Hello World');
(Which will create the table automatically)
Then:
select * from posts;
It's AGPL licensed and written in Common Lisp, looks like it's been in development for just over a year: https://github.com/endatabas/endb https://github.com/endatabas/endb
On disk storage format is Apache Arrow.
- syrusakbary 3y agoThis is super cool! It seems that endb uses emscripten to compile to WebAssembly, I wonder if they tried WASI or WASIX (https://wasix.org https://wasix.org) to target both browser and server environments!
- deobald 3y agoWe did try to get WASI to work, but ECL itself doesn't yet target it. It fell down on missing set/longjmp support in wasi-libc. We haven't tried WASIX yet. There are other approaches than the one we've taken so far, and we're still experimenting. But for the current demo, we're quite happy with Emscripten. The entire Wasm ecosystem feels pretty darn magical. :)