zlacker

StardustOS: Library operating system for building light-weight Unikernels

submitted by transp+(OP) on 2025-12-04 22:56:08 | 115 points 9 comments
[view article] [source] [links] [go to bottom]
replies(5): >>koolal+sq >>N_Lens+FJ >>synalx+ZN >>mrblue+zF1 >>wardja+1l5
1. koolal+sq[view] [source] 2025-12-05 01:55:08
>>transp+(OP)
Could this be good for compiling as a small Wasm OS for the Browser? Instead of Alpine Linux or things like that?
2. N_Lens+FJ[view] [source] 2025-12-05 05:45:16
>>transp+(OP)
The main value seems to be as a research vehicle and teaching tool rather than production-ready infrastructure. The Rust version being archived suggests this might not be under active development currently.

Good for simple stateless services (web servers, API endpoints, microservices) applications that fit the unikernel model - single-purpose, statically linked Running on one's own Xen hypervisor infrastructure.

replies(2): >>dist1l+fR >>mprovo+jg1
3. synalx+ZN[view] [source] 2025-12-05 06:35:05
>>transp+(OP)
> Stardust-oxide is a re-implementation of the unikernel in Rust.

Not "Starrust"? What a missed opportunity...

replies(1): >>rl3+SJ3
◧◩
4. dist1l+fR[view] [source] [discussion] 2025-12-05 07:19:49
>>N_Lens+FJ
I would argue that stateful services (databases, message queues, CDNs) all perfectly fit the unikernel model. The question is whether the additional engineering effort and system design is worth the performance gain.
replies(1): >>miohta+Rv2
◧◩
5. mprovo+jg1[view] [source] [discussion] 2025-12-05 09:58:35
>>N_Lens+FJ
It reminds me of the old OSKit project from the Univ of Utah, which was also developed for research and teaching.

https://www-old.cs.utah.edu/flux/oskit/

6. mrblue+zF1[view] [source] 2025-12-05 13:06:56
>>transp+(OP)
Looks promising but the last update appears to be a few years ago. OPS is a modern alternative: https://docs.ops.city/ops/
◧◩◪
7. miohta+Rv2[view] [source] [discussion] 2025-12-05 17:02:32
>>dist1l+fR
Interesting. Are there any research and papers on potential performance gains?
◧◩
8. rl3+SJ3[view] [source] [discussion] 2025-12-05 23:20:54
>>synalx+ZN
Galen Erso disagrees.
9. wardja+1l5[view] [source] 2025-12-06 17:11:26
>>transp+(OP)
I’m one of the authors of Stardust - thanks to everyone who’s taken the time to look at it and share their thoughts here.

The project started with two questions:

- How small can a deployment unit be while still supporting real service workloads?

- What if distributed systems were built from components that can be deployed quickly or dynamically relocated across a network?

Instead of large virtual machines or container images, we turned to Unikernels; tiny, and easily deployable anywhere a hypervisor runs. If deployment becomes cheap, we can rethink system design: mobile agents, compute-near-data, ephemeral tasks, dynamic composition, and so on.

Stardust lets us explore that space, and both the C and Rust versions are stable.

Stateful services are possible with Unikernels, though library porting still takes work, and there’s plenty of room for innovation around hypervisor and tooling. WebAssembly is a promising direction as well, though it would require adapting Stardust to support an appropriate runtime. Some Unikernels have already gone down that path, and there’s definitely room for more experimentation.

[go to top]