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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of WebAssembly

WebAssembly

Photo of Zeroperl

Zeroperl

Photo of Sandboxing Perl

Sandboxing Perl

Related news:

News photo

We replaced our React front end with Go and WebAssembly

News photo

A WebAssembly compiler that fits in a tweet

News photo

WASM-4: Build retro games using WebAssembly for a fantasy console