bastion
bastion copied to clipboard
Compilation to WASM runtime
Make everything ready for WASM runtime. The executor should have single thread. This is requested by various people to incorporate Bastion to their projects.
WASM should enable bastion-rs to offer something very similar to Erlang in terms of being able to distribute both code and data to distributed processes.
Erlang was designed to make functions serializable over the network allowing the persona of particular worker to evolve over time.
WASM allow you essentially do the same thing.
It seems inevitable to me that there will be WASM based Hadoop/Spark/Erlang replacement and Bastion seems like it's moving in that direction.
Ok I have no idea how to do it, but I wanna give it a try.
I'm working on a wasm executor in agnostik that we will need to add wasm support to bastion. It will be in the next agnostik release
It is not possible until bastion package can be compiled solely for wasm target. Placing executor doesn't mean that it will compile to wasm.
Yeah, I think the idea was executing WASM functions via the bastion runtime.
Nice idea. Maybe provide the ability for the other script languages like Lua, python as the executing runtime.
like .with_exec_script("xx.py")