A co-worker and I published a post / overview on ...
# share-your-work
z
A co-worker and I published a post / overview on some stuff we’re working on. It’s about writing functions, compiling them to Wasm components, and combining them into a multi-language (Rust, Python, Javascript) workflow to run on the Everywhere Computer (a platform we’ve developed at Fission): https://fission.codes/blog/functions-everywhere-only-once/.
💯 1
🍰 2
❤️ 3
d
How do you compile the Python and JavaScript functions? The best we figured so far was to compile a Python and JavaScript interpreter and then use the interpreter to evaluate Python and JavaScript sourcecode, but it needs a huge WASM runtime and isn't particularly fast.
z
The post discusses the tools. The underlying pieces are componentizeJs and componentise-py. Tradeoffs abound to your points tho.
The Javascript one embeds spider monkey which means it’s interpreted
Python uses py03
d
Thanks! I should read the post first before asking questions, sorry! 😄
z
Np! We built a tool atop all this for JS, currently called Wasmify. Python is stock componentize. After you gander, down to chat more in detail!
🙏 1