4 ms·
If I suddenly had unlimited resources and attention, I'd really like to provide infrastructure to write trusted functions by running them via a webassembly runt
by anarazel 3y ago
If I suddenly had unlimited resources and attention, I'd really like to provide infrastructure to write trusted functions by running them via a webassembly runtime, with a small injected safe surface for accessing postgres functionality. That'd make it a lot easier to write trusted PLs in a variety of languages. Still probably needs a bit of per-language sugar on top, but a lot less than doing it from scratch.
Edit: Minor grammar fix
- bear9628 3y agoHehe :) I also have WASM in mind when thinking about future TLE support :)
- michelpp 3y agoI don't know much about it, but I think this has been tried? https://dylibso.com/blog/pg-extism/ https://dylibso.com/blog/pg-extism/ Looking at the repo though it looks like it hasn't been updated in a while.
- pjmlp 3y agoOracle, IBM and Microsoft have been doing that for decades with JVM, CLR and TIMI, yet another use case where Webassembly is a follower.