Back to browse
GitHub Repository

Minimal VMM for multi-tenant dev shells and serverless

326 starsRust

Clone, a small Rust VMM, forks VMs in under 20ms via CoW

by rasengan·Apr 19, 2026·11 points·3 comments

AI Analysis

●●●BangerWizardryBig BrainNiche Gem

Shadow Clone forks VMs in 20ms with container-like memory efficiency.

Strengths
  • Shadow Clone CoW mechanism lets 100 VMs use memory like 10.
  • 25K Rust lines, single binary, smaller than most VMM config files.
  • Production deployed at unixshells.com, not just a demo.
Weaknesses
  • Linux-only via KVM, no macOS or Windows hypervisor support.
  • Niche use case—multi-tenant shells won't apply to most teams.
Target Audience

Infrastructure engineers, hosting providers, serverless platforms

Similar To

Firecracker · Cloud Hypervisor · QEMU

Post Description

We needed a secure, multi-tenant way to offer shell accounts to users, but most VMMs were using too much memory and containers are unsafe. With clone, VMs are now more memory efficient than containers in most cases.

Since many other projects on HN looked like they were doing this too, open sourcing this was the right thing to do.

Feel free to use in whole or in part as you see fit!

Similar Projects