We Rebuilt the Linux MicroVM Stack on Apple Silicon

(encore.dev)

37 points | by signa11 1 hour ago

4 comments

  • bit_rot73 4 minutes ago
    Four years on a shared remote machine before building the local backend is a good lesson in when to invest in dev tooling versus living with the workaround.
  • huerne 37 minutes ago
    VZ.framework is very limited, Hypervisor.framework is the better analogue to KVM
    • jdub 6 minutes ago
      Virtualization.framework isn't particularly limited, for what it is... given they're using Firecracker on Linux, it makes sense to use a similarly high level API on macOS.

      (One could add a Hypervisor.framework backend to Firecracker, though I'd be surprised if AWS accepted it.)

  • github_vibe 21 minutes ago
    I just encountered the `com.apple.private.virtualization` entitlement limitation just last night, wanting to use VZVirtualMachine private AccessorEndpoint api. There's lot of useful stuff hidden in Apple's Private API space.

    Great write up! I enjoy seeing others working in the same problem space.

  • kombine 22 minutes ago
    > most engineers at Encore develop on a Mac

    They are solving the wrong problem.