Zeeshan Lakhani 2024-03-28 13:32:48 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): fission.codes/blog/functions-everywhere-only-once.
Denny Vrandečić 2024-03-29 00:05:06 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.
Zeeshan Lakhani 2024-03-29 00:13:16 The post discusses the tools. The underlying pieces are componentizeJs and componentise-py. Tradeoffs abound to your points tho.
Zeeshan Lakhani 2024-03-29 00:17:08 The Javascript one embeds spider monkey which means it’s interpreted
Denny Vrandečić 2024-03-29 00:24:30 Thanks! I should read the post first before asking questions, sorry! 😄
Zeeshan Lakhani 2024-03-29 00:25:51 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!