-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: support WasmEdge as an alternative engine #1
base: master
Are you sure you want to change the base?
Conversation
11ed3bd
to
d76bbd8
Compare
cc4fa2d
to
f468a3a
Compare
0ad6295
to
1368090
Compare
95c20a2
to
9dfbb6b
Compare
WasmEdge support completed in 7924834. All original tests passed. (Most code & tests are shared by both engines!) Keep working on
|
@@ -0,0 +1,114 @@ | |||
use super::instance::{WasmEdgeContext, WasmEdgeFn, WasmEdgeInstance}; | |||
|
|||
use tracing::debug; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you reorder terms in of:
- std
- third party
- fluvio dep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's OK. Are you going to review the PR now? I will resolve such issues if general ideas LGTY.
P.S. this PR is generally complete except minor points.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you split this into PR just related to without WasmEdge? We need to discuss how to maintain WasmEdge related code.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's OK. But I'd like to elaborate a bit: only folder wasmedge
is WasmEdge-specific code, and that's ~300 lines of simple code. To discuss how to maintain WasmEdge related code, and to get the ideas of how the common code work, it might be better to keep WasmEdge related code now. This can actually make it easier to review this PR.
I can remove the WasmEdge related code after the code review if that's not decided.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like have review by team but can't seem to add reviewers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a PR to the main repo infinyon#3257
Test: