verification so fast in nostrdb on multiple threads the perf hit is so small its no longer a concern. those poor js souls 🥲
Discussion
The next step should be writing a browser engine in nostrdb so you can do everything in JS inside it.
you joke but i’m already hooking up my C wasm interpreter to talk to nostrdb so you can script access to the local relay 😆
Have you thought about generating predefined UI components from wasm scripts? Simple things like input boxes and buttons that then trigger some action which then outputs a table?, I don't know. What I have in mind are the simple UIs you can write programmatically for Telegram and Discord bots, for example. They are very limited and yet people can very easily write powerful apps (bots) in them.
Could be standardized between different clients and then the actual layout would be different everywhere but the functionality would be the same.
But maybe this gets too complex too quickly and it's not worth doing. Or the scripts would be huge? Not sure if that's a problem.
I have thought about these things but there are so many directions you can go with it. Just going to keep it simple right now: provide a simple way to query and provide the results to… something. Maybe a list. I dunno. Its more of an idea playground at the moment
Sounds a good idea.