Stream: general

Topic: reviving EWASM


view this post on Zulip a_less_apathetic (Apr 24 2024 at 01:01):

hello. i stumbled across WASM but never found it more useful than GPU.js due to lack of Browser API or NodeJS interfacing. Javy by Bytecodealliance unfortunately was just QuickJS.

Either way, wasmtime and the code generator seem top nodge, and even Go bindings look super easy.

Ethereum, the cryptocurrency network, once had a design draft to replace their virtual machine, EVM, with WASM, but abandoned it.

i'd like to leverage the Go bindings of wasmtime, rely on the harsh security measures for a moment, and just feed a modified Ethereum Geth client with wasmtime bindings to execute and/or deploy hexadecimally encoded WebAssembly bytecode blobs as Serverless functions. The hex with prepending 0x is just Ethereum convention.

Is there any obstacles or major hickups I'm just not seeing?
Thanks!

view this post on Zulip Lann Martin (Apr 24 2024 at 13:00):

Based on your description that seems reasonable

view this post on Zulip a_less_apathetic (Apr 24 2024 at 13:11):

Thank you. Since you all seem very fine people at BCA (Spoke to a Javy maintainer too), I would like to express my gratitude for review and mention a request. Ethereum PoC of Serverless I think I can handle.

JSLinux to WASM (runtime package, if we're being honest it is not a Compiler per se. In security we call it a Packer) seems impossible right now.

The impact of exploring a path to make it happen, leading to futuristic realities of Cloud Computing in a decentralized fashion becoming real, is profound.

Is this something you can even possibly see on the Horizon?

view this post on Zulip Lann Martin (Apr 24 2024 at 13:21):

I don't think you'll find a whole lot of interest in that specific project from the active contributors here. This community is more focused on Wasmtime, the Wasm component model (and core), and WASI. You would probably find more interest within a blockchain-focused group.


Last updated: Nov 22 2024 at 16:03 UTC