What is Nostr?
Vitor Pamplona
npub1gcx…nj5z
2025-01-03 14:53:18
in reply to nevent1q…3tgn

Vitor Pamplona on Nostr: You should be able to turn any async into a sync call these days. On kotlin we use ...

You should be able to turn any async into a sync call these days. On kotlin we use coroutines for that. Even APIs that are based on callbacks can be suspended until the call back returns. It's just one or two lines of code. I am not sure how to do that on Dart and other languages though :(

I just don't think there is any future on having databases for each app. It just won't scale. In the end, they will all be slower than querying the local relay, which already has its indexes and most of the shared profiles and latest events in memory.
Author Public Key
npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z