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

Trim the fiber interface/implementation #34

Open
dhil opened this issue Nov 1, 2023 · 1 comment
Open

Trim the fiber interface/implementation #34

dhil opened this issue Nov 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dhil
Copy link
Member

dhil commented Nov 1, 2023

Currently, we build the stack switching logic on top of Wasmtime Fiber. The interface (and implementation) provided by Wasmtime Fiber is more general and conservative than we require. We should trim the interface and implementation down to a bare minimum. As a result, we ought to see a some performance improvements too, because, in our case, Wasmtime Fiber performs some redundant writes and causes two unnecessary indirections on each stack switch.

@dhil dhil added the enhancement New feature or request label Nov 3, 2023
@dhil
Copy link
Member Author

dhil commented May 14, 2024

@frank-emrich one of your previous PRs trimmed down the interface of fibre considerably, right?

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

No branches or pull requests

1 participant