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 WASM engine to wasmtime #385

Merged
merged 16 commits into from
Jan 3, 2023
Merged

Switch WASM engine to wasmtime #385

merged 16 commits into from
Jan 3, 2023

Conversation

tessi
Copy link
Owner

@tessi tessi commented Dec 30, 2022

As outlined in #336, we want to switch the underlying WASM engine from wasmer to wasmtime. We prototyped that switch over at https://github.com/tessi/wasmex-wasmtime

This MR brings that experiment back into the main repo and polishes it.

TODOs

  • write upgrade guide / changelog
  • finish writing docs
  • fix CI
  • prepare 0.8.0 release

@tessi tessi merged commit c03de0f into main Jan 3, 2023
@tessi tessi deleted the wasmtime branch January 3, 2023 09:43
tessi added a commit that referenced this pull request Jan 3, 2023
* copy over work from https://github.com/tessi/wasmex-wasmtime

* cargo fmt

* update CI, drop elixir 1.11 support, add elixir 1.14 support

* do not test OTP 23.3 because ubuntu-latest doesn't have that anymore

* do not test OTP 25.2 && elixir 1.12.3 as they are not compatible

* sadly old elixirs don't allow ƒ as macro names

* use the new fancy test helper everywhere

* first run over the docs, added some tests, improved some typespecs

* next round over our docs, turned all code examples into doctests, added Wasmex.store(), added test for stdin->stdout echo

* renamed Pipe.create to Pipe.new to be consistent with method naming

* renamed Memory.length to Memory.size to be consistent with method naming

* run CI under latest OTP/elixir; re-add arm-unknown-linux-gnueabihf release target

* disable arm-unknown-linux-gnueabihf builds again

* updated Elixir deps

* wrote a CHANGELOG; minor doc updates

* fix README, minor doc updates
@myobie
Copy link
Contributor

myobie commented Jan 4, 2023

Awesome work! I can't wait to try this version out soon. 🙇

@tessi
Copy link
Owner Author

tessi commented Jan 4, 2023

thanks! can't wait for you to tell me how it went. :) Hope it's not too much work migrating to the new version

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