Gregory Conrad

Results 109 comments of Gregory Conrad

Also looks like WASI might get threading soon-ish™️, and Dart will also get Native Assets some months down the line. Might just be worth waiting on these for web support,...

> Are you referring to this article [Beyond Dart 3](https://medium.com/dartlang/the-road-to-dart-3-afdd580fbefa)? Will this make porting native code into browsers easier? No, I’m referring to https://github.com/dart-lang/sdk/issues/50565 If Flutter provides an easy way...

# Slight Update ## LMDB ~I have gotten LMDB to compile with https://github.com/GregoryConrad/mimir/pull/97/commits/32661b835970874fb127a2d551498b3ef08aa81f~ by using experimental WASI threading support, some emulated libc functions, and forcing the use of POSIX semaphores...

Seeing https://github.com/WebAssembly/WASI/issues/166, I'm inclined to think that the best way forward would actually be trying an alternative backend in heed that is WASM/WASI friendly. Trying to see if mdbx works....

For picking up where I left off: investigate mdbx-sys’ build.rs. I have a feeling it might be doing something wrong, causing assert.h to not be found.

mdbx is out of the picture because the team over at meili would rather go for a full Rust-only approach (rather than a different C library); specifically, either sanakirja or...

Based on the 3 options I originally gave above: 1. This is still the best approach in my eyes, but the wasi-libc is highly lacking in functionality required by any...

See https://github.com/meilisearch/heed/issues/162. For future self, can probably use https://github.com/devashishdxt/rexie as a reference implementation on top of web-sys.

Instead of indexedDB, will try out redb with WASI as that’d be preferred. If wasmer js is problematic, can also try out https://github.com/bjorn3/browser_wasi_shim

This may be very helpful for future implementation: https://wasmer.io/posts/announcing-wasix