jmmv 2 hours ago

If you like this, I'd also suggest reading on "Rumpkernels", which are also based on NetBSD. The core idea is (simplified): let's implement the kernel API in userspace so that we can take kernel-level components and run them as part of an application.

Rumpkernels then allow, for example, taking all file system drivers in the kernel and running them in userspace without having to rewrite all of the file system tricky logic. Think of "mtools" if you ever used them, but by reusing existing FAT code. Or making it trivial to create disk images from userspace without having to have special kernel primitives nor root access.

And also, they allow taking a userspace application and packaging it with the minimum set of drivers required to run "bare metal". Which is what the SSH example in the smol page brought to mind. See https://github.com/rumpkernel/wiki/wiki/Repo%3A-rumprun

dazzawazza 6 hours ago

I'm really enjoying some of the innovation in the BSD space at the moment.

  • hoppp 2 hours ago

    BSD space has always been ahead in some ways. They can move more freely forward.

SpecialistK 3 hours ago

Wow, this looks like it will be a lot of fun to play with. As dazzawazza stated, very nice innovation going on. BSD deserves so much more love and attention!

metadat an hour ago

Isn't FreeBSD already pretty small? I wonder what the LoC difference is between Smol, NetBSD and FreeBSD.

erredois 4 hours ago

I was thinking about the smallest ssh server possible, and this looks interesting. I will try it later.

ggm 2 hours ago

Does it do a minimisation of system calls and libc endpoints?

shoobiedoo 5 hours ago

Very cool. Love the mascot icon