← Back to KHAO

Apple ·

encore.dev Rebuilt the Linux MicroVM Stack on Apple Silicon

2 min read

Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.

◌ Single Source

The backend is chosen at compile time; the guest agent is the same binary on both.

That last line pipes a shell function into a login shell on the far end and runs it there.

Key facts

Summary

Encore builds and deploys backend applications, and since mid-2022 every one of those builds has run inside a Firecracker microVM. Firecracker drives KVM, so it needs a Linux host with /dev/kvm, which no Mac has, and most engineers at Encore develop on a Mac. So for four years, working on the build system meant working on it somewhere else. The team onboarded each engineer with a script you ran once. Getting a change onto that environment took a second script, which read your username and your port out of the CUE config, from a gitignored per-engineer file, because they all shared that host and had to agree not to collide.

Read full article at encore.dev →

#Apple