Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation to WASM runtime #134

Open
vertexclique opened this issue Dec 15, 2019 · 6 comments
Open

Compilation to WASM runtime #134

vertexclique opened this issue Dec 15, 2019 · 6 comments
Labels
C-feature-request Category: Feature Request I-executor Internals: Executor

Comments

@vertexclique
Copy link
Member

Make everything ready for WASM runtime. The executor should have single thread. This is requested by various people to incorporate Bastion to their projects.

@vertexclique vertexclique added enhancement New feature or request research We need to take a look if this thing is possible support Support for Bastion usage labels Dec 15, 2019
@r3v2d0g r3v2d0g added C-feature-request Category: Feature Request I-executor Internals: Executor and removed enhancement New feature or request research We need to take a look if this thing is possible support Support for Bastion usage labels Dec 20, 2019
@r3v2d0g r3v2d0g self-assigned this Dec 27, 2019
@zmanian
Copy link

zmanian commented Dec 29, 2019

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.

@r3v2d0g r3v2d0g removed their assignment Jan 10, 2020
@o0Ignition0o
Copy link
Contributor

Ok I have no idea how to do it, but I wanna give it a try.

@Stupremee
Copy link
Member

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

@vertexclique
Copy link
Member Author

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.

@zmanian
Copy link

zmanian commented Apr 2, 2020

Yeah, I think the idea was executing WASM functions via the bastion runtime.

@attila-lin
Copy link
Contributor

attila-lin commented May 10, 2020

Nice idea. Maybe provide the ability for the other script languages like Lua, python as the executing runtime.

like .with_exec_script("xx.py")

@o0Ignition0o o0Ignition0o removed their assignment May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: Feature Request I-executor Internals: Executor
Projects
None yet
Development

No branches or pull requests

6 participants