jb55 on Nostr: Its hard because there are two native concepts that don’t map well to wasm: ...
Its hard because there are two native concepts that don’t map well to wasm: pthreads and mmap
quoting nevent1q…f2v4I wonder if I can make nostrdb work on the web by replacing the mmap call in lmdb with malloc 🤔 the database wouldn’t be persistent between runs but it would enable a fast local relay with a multithreaded webworker note ingester within the browser. I will experiment 🧪