Re:Endatabas: An open source immutable, Document Database wi...
by syrusakbary on Friday March 01, 2024 @12:48AM
(#39558929)
This is super cool! It seems that endb uses emscripten to compile to WebAssembly, I wonder if they tried WASI or WASIX (https://wasix.org) to target both browser and server environments!
Re:Endatabas: An open source immutable, Document Database wi...
by deobald on Friday March 01, 2024 @04:12AM
(#39560061)
We 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. :)
Follow the tutorial at https://docs.endatabas.com/tutorial/sql_basics - so start with this:
(Which will create the table automatically)Then:
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/endbOn disk storage format is Apache Arrow.