50

gokrazy is a Linux implementation that I've used off and on for a few years now. It's a very interesting project because everything on the system is written in Go save the kernel. The init process is in Go (and even listens over HTTP to handle updates!), every userland process is written in Go, and even the core system services are written in Go.

It's all stripped down to these few programs, configuration files, and one symlink for DNS resolution. This is a very minimal system, and it's all you need to run statically linked Go programs. It's very easy to deploy your own services to it too. It's probably the easiest platform I know of that lets you just deploy a Go binary and have it run as a service, automatically restarting when it crashes.

gokrazy is insanely cool. It's the easiest way to deploy Go services to your homelab. It integrates seamlessly with Tailscale, and is something that I'm very excited to see grow and mature. I'm very excited to see what the future holds for gokrazy, and I'm very excited to see what people do with it.

you are viewing a single comment's thread
view the rest of the comments
[-] bosco@lemmy.sdf.org 16 points 1 year ago

Very cool! Nicely written too, I appreciate the technical depth and examples.

If you like Linux distributions/systems with an emphasis on a single language and custom init systems, I'd encourage you to take a peek at GUIX. It has an init system written in scheme called shepherd.

I'd say, per your definition which I agree with BTW, GUIX falls on the distribution side of things.

[-] pnutzh4x0r@lemmy.ndlug.org 9 points 1 year ago

Oh, just to be clear... I'm not the author of the blog post. I just shared the link :]

[-] bosco@lemmy.sdf.org 7 points 1 year ago

No worries, thanks for sharing!

this post was submitted on 23 Sep 2023
50 points (100.0% liked)

Linux

48074 readers
748 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS