Rust init code?

I discussed this previously with Kurt, Thomas, and Jerome, and was asked to bring it up here.

I’m currently in the process of building some minimal system initialization and network bringup code in Rust, for use on VMs. This HN thread mentioned fly.io’s init code in Rust. I spoke with Jerome about that code as well. I’d be interested in seeing portions of that code released as Open Source, and adapting them for use as a minimal Rust init.

Would you be willing to share this code, in whole or in part? Bringing up a system is fiddly, with many moving parts, and having code you’re successfully using in production as a reference would be incredibly helpful.

Thank you!

3 Likes

We’re currently considering releasing a “snapshot” of our init publicly, but not making it open-source per se.

Having the code available as a reference for functionality is still useful.

It’d be nice to be able to copy snippets from it, but even just having it as a reference would help.

@josh here you go: GitHub - superfly/init-snapshot: Fly

4 Likes

Thank you!