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

Switch from wasmer to wasmtime #283

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Switch from wasmer to wasmtime #283

merged 1 commit into from
Oct 24, 2023

Conversation

ureeves
Copy link
Member

@ureeves ureeves commented Oct 18, 2023

We switch WebAssembly runtime - from wasmer to wasmtime - to make
use of the features it has available, notably memory64 support.

In the process we are one step further to having 64-bit contracts, and
have gotten rid of the 4 page minimum memory requirement.

See-also: #281

@ureeves ureeves force-pushed the wasmtime branch 3 times, most recently from 919f14b to f0817ae Compare October 23, 2023 15:51
@ureeves ureeves marked this pull request as ready for review October 23, 2023 15:52
Copy link
Member

@HDauven HDauven left a comment

Choose a reason for hiding this comment

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

Not much to add from my side, just a couple of questions. Overall it's a very nice change.

Given that a whole runtime swap-out only touched <1k LOC is an achievement in itself. ☺️

Also nice to see the minimum memory page requirement is gone. Looking forward to the 64-bit port!

piecrust/src/vm.rs Show resolved Hide resolved
piecrust/src/vm.rs Show resolved Hide resolved
piecrust/src/store/memory.rs Outdated Show resolved Hide resolved
We switch WebAssembly runtime - from `wasmer` to `wasmtime` - to make
use of the features it has available, notably `memory64` support.

In the process we are one step further to having 64-bit contracts, and
have gotten rid of the 4 page minimum memory requirement.

See-also: #281
@ureeves ureeves merged commit c787212 into main Oct 24, 2023
4 checks passed
@ureeves ureeves deleted the wasmtime branch October 24, 2023 08:53
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

Successfully merging this pull request may close these issues.

2 participants