Get the latest tech news
Zeroperl: Sandboxing Perl with WebAssembly
I’m building a new startup and file metadata plays an important role.
No matter what programming language you choose to adopt for your new ideas, if you plan to grow and scale, there is a universal certainty that at some point your stack will come to depend on one piece of tooling written long ago in Python or Perl. Perl scans a bunch of directories that don’t exist (it thinks it’s still on our CI machine with absolute paths), and every file read has to cross the host boundary. I ran it across what remained in the prefix, and although the CI time jumped from ten minutes to nearly an hour, I ended up with a 9.1 MB WebAssembly build of Perl that is fully sandboxed and self-contained.
Or read this on Hacker News