-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add WebAssembly as supported platform for Perl build #61
Comments
Or please feel free to close / move this issue to another repo, as this suggestion is not about the Perl language itself |
I'm not sure this really needs a PPC. I'm pretty sure we would welcome the addition of this as a platform, assuming the changes for it were sensible. |
One issue I can see is: can we run tests against it? preferably in a work flow, so we know if we break it. |
Yeah, basic tests can be run, probably some WASI-powered wasm runtime like wasmtime/wasmer could be used, and certainly |
In total there are 12 commits in Perl/perl5@blead...haukex:emperl5:emperl_v5.30.0 : Patches to Perl itself (here probably the noexit and signal patches are the most important ones):
Patches to build scripts of Perl:
The remaining patches are more on interop of JS/Emscripten <> Perl (and are less important for basic functioning):
|
Also, regular smoke-test reports would be valuable. |
Yeah, I can't see any reason why anyone would be opposed to it, as long as there's someone actually supporting it (and preferably someone setting up an automatic testing). |
There is an initial successful attempt at
Supporting WebAssembly can help in some interop / legacy scenarios where it would be nice to run existing Perl scripts in a portable / simple / isolated WebAssembly platform - like in browser.
It would be nice if such platform was added to stock perl along with some smoke / github actions ci build tests
The patches to the Perl itself in Perl/perl5@blead...haukex:emperl5:emperl_v5.30.0 are quite minimal and are related to the process termination refactoring, signal handling, and minor fixes to makefiles. It would be awesome to upstream / add similar fixes to upstream - then it would be simpler to at least have a smoke build test
The text was updated successfully, but these errors were encountered: