Skip to content

Blog

Build a Hyperlight C guest to securely execute JavaScript

This tutorial demonstrates how to create a Hyperlight guest application in C that uses the QuickJS JavaScript engine to securely execute arbitrary JavaScript inside a hardware-protected micro-VM. It walks through building the guest using the Hyperlight C API, compiling with clang against Hyperlight’s custom libc, and creating a Rust host application that loads and calls the guest. Written by Ludvig Liljenberg.

Read the full blog post

Hyperlight: Achieving 0.0009-second micro-VM execution time

This post walks through the demo application from Rita Zhang’s KubeCon NA 2024 keynote, showing how Hyperlight achieves 0.0009-second average micro-VM execution time. It explores the demo app’s architecture — a Rust-based web server with cold and warm VM routes — and explains how Hyperlight creates a brand-new hardware-protected micro-VM for each request, executes a guest function, and tears it down, all within sub-millisecond timeframes. Written by Danilo Chiarlone.

Read the full blog post

Hyperlight at KubeCon NA 2024: Keynote Demo

At the KubeCon + CloudNativeCon North America 2024 keynote in Salt Lake City, Microsoft’s Rita Zhang demonstrated Hyperlight on stage, showing how it can execute multiple functions inside a micro virtual machine and return results in just 0.0009 seconds on average. This was one of Hyperlight’s first major public appearances and showcased the project’s sub-millisecond execution capabilities to the cloud-native community.

Watch the keynote demo

Introducing Hyperlight: Virtual machine-based security for functions at scale

The Microsoft Azure Core Upstream team announced Hyperlight, an open-source Rust library for executing small, embedded functions using hypervisor-based protection at scale. Hyperlight creates micro-VMs in 1–2 milliseconds — about two orders of magnitude faster than traditional VMs — by eliminating the guest OS, virtual devices, and kernel boot entirely. The post covers the motivation behind Hyperlight, its architecture, and includes a Rust code walkthrough. Written by Yosh Wuyts.

Read the full blog post