Skip to content

Conversation

@kyessenov
Copy link
Contributor

Commit Message: Add Wamr runtime to the default build.
Additional Description: Fast interpreter mode is a reasonable tradeoff - at a very rough estimate, it is ~3x lighter in memory use (but also ~3x slower in CPU).
Risk Level: low
Testing: no (tested upstream)
Docs Changes: yes
Release Notes: yes

Change-Id: I06eb08f6ed88cbe9a0acdeccc1a16c588327f3d6
Signed-off-by: Kuat Yessenov <[email protected]>
Change-Id: I9ff5d31b21c94af188563b45051b2d61b5f1ca87
Change-Id: I98ab99aadc616438de547afe3d4642c0847fb032
Signed-off-by: Kuat Yessenov <[email protected]>
Change-Id: I3dcfe391e92e132789688df3fa7cc5127da9509c
Signed-off-by: Kuat Yessenov <[email protected]>
Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
High-level question:
Will it make sense to choose a single engine that will be included by default?

Assigning Yan and Mike to hear their thoughts.
/assign @yanavlasov @mpwarres

@kyessenov
Copy link
Contributor Author

We had an offline discussion to support WAMR. We still need to make a choice on what flavor of WAMR (fast interpreter and JIT are not compatible, it's one or the other; Fast JIT is not compatible with Aarch64).

Copy link
Contributor

@yanavlasov yanavlasov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/wait-any


* `v8` (the default included engine)
* `wamr`
* `v8` (default included engine)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we decided to exclude v8 from the default build.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If V8 is not part of the default build, which builds would it be included in, and would those be covered by test runs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the default build is similar to deprecating the extensions, so we needs a heads up IMO and could keep both for a release. Or we could just drop it. @mpwarres should we try JIT WAMR instead of interpreter one? It seems like you can't have both of them so we should make a choice now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC the issue with JIT WAMR was that it is not supported for Arm. Would it be feasible to have the amd64 build use WAMR JIT but use the interpreter for arm64?

Sorry for the dumb question but I am still unclear whether we will still have CI test runs exercising V8 after it is dropped from the default build. IMO continuing to run Envoy WasmFilter tests with V8 is desirable to avoid bitrot.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently the compile-time-options ci test against the non-default wasm engines

@phlax
Copy link
Member

phlax commented Aug 5, 2025

needs main merge

/wait

@github-actions
Copy link

github-actions bot commented Sep 4, 2025

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Sep 4, 2025
@yanavlasov yanavlasov removed the stale stalebot believes this issue/PR has not been touched recently label Sep 9, 2025
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Oct 9, 2025
@github-actions
Copy link

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot closed this Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale stalebot believes this issue/PR has not been touched recently waiting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants