https://github.com/uswriting/zeroperl
Perl5 in a sandboxed, self-contained WebAssembly module.
https://github.com/uswriting/zeroperl
perl perl5 wasi wasm webassembly
Last synced: about 1 year ago
JSON representation
Perl5 in a sandboxed, self-contained WebAssembly module.
- Host: GitHub
- URL: https://github.com/uswriting/zeroperl
- Owner: uswriting
- License: mit
- Created: 2025-01-01T17:18:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-28T05:37:05.000Z (over 1 year ago)
- Last Synced: 2025-04-04T20:11:26.707Z (about 1 year ago)
- Topics: perl, perl5, wasi, wasm, webassembly
- Language: C
- Homepage: https://andrews.substack.com/p/zeroperl-sandboxed-perl-with-webassembly
- Size: 60.5 KB
- Stars: 50
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
zeroperl is an experimental build of Perl5 in a sandboxed, self-contained WebAssembly module.
Read the full blog [here](https://open.substack.com/pub/andrews/p/zeroperl-sandboxed-perl-with-webassembly?r=44njw&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false)
> **Notes**
> 1. For some reason, if `LC_ALL=1` is not passed as an environment variable to Perl, it crashes. [No idea why](https://github.com/Perl/perl5/issues/22375).
> 2. The first argument passed to Perl **must** be `zeroperl`.
> 3. Depending on your runtime, you may need to map `/dev/null` as a preopen.