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

Prototyping a rust wasm-bpf runtime based on wasmtime #15

Closed
yunwei37 opened this issue Feb 14, 2023 · 2 comments
Closed

Prototyping a rust wasm-bpf runtime based on wasmtime #15

yunwei37 opened this issue Feb 14, 2023 · 2 comments

Comments

@yunwei37
Copy link
Member

yunwei37 commented Feb 14, 2023

We need to prototype a runtime based on wasmtime because:

  • rust may be safer than C/cpp, and cargo may be a better package manage approach and build systems than git submodule/cmake
  • We are not very familiar with cmake...
  • wasmtime has a better support on component modal and better ecosystem

The current version wamr runtime may still remain, for a more lightweight usecases and better support with libbpf (C/C++ library).

The rust library to load and operate eBPF programs can be aya-rs.

Any suggestions?

@yunwei37
Copy link
Member Author

yunwei37 commented Feb 14, 2023

A test implement of wasmtime component model is in https://github.com/eunomia-bpf/wasmtime-test, and the problem related is recorded in bytecodealliance/wasmtime#5775

@Officeyutong
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants