fiatjaf.com/nostr mod for TinyGo/Wasm has started working. There are likely some trade-offs. I still need to check whether everything I need will actually run.
Comparison with standard Go/Wasm:
- Binary size: < 0.1x
- Execution speed: similar or slightly slower (with opt=2)
- Memory usage: ~0.75x
GitHub
GitHub - 1l0/nostrlib at tinygo
mirror of https://gitworkshop.dev/fiatjaf.com/nostrlib - GitHub - 1l0/nostrlib at tinygo