jb55 on Nostr: This weekends recreational coding was not #nostr related for the first time in ...
This weekends recreational coding was not #nostr related for the first time in months! I tweaked my C tokenizer so that it could tokenize WAST files, which are a part of the WASM test suite. Soon I will build a parser for this file so that I can see if my C WASM interpreter [1] is correct.
WASM is neat, it’s like a small virtual machine that can run portable programs independently from the host CPU. Why would you want this? Well imagine if you could add plugins to your nostr client that implements some custom feed or algorithm. You could safely download these from the web and run it within your nostr client automagically. Not saying I will do this is #damus … but it’s fun to think about 😉
[1] http://git.jb55.com/protoverse/file/src/wasm.c.html
WASM is neat, it’s like a small virtual machine that can run portable programs independently from the host CPU. Why would you want this? Well imagine if you could add plugins to your nostr client that implements some custom feed or algorithm. You could safely download these from the web and run it within your nostr client automagically. Not saying I will do this is #damus … but it’s fun to think about 😉
[1] http://git.jb55.com/protoverse/file/src/wasm.c.html