Readit News logoReadit News
thegeomaster · 5 months ago
What an astounding achievement. In 6 years, this person has written not only a very well-designed microkernel, but a build system, UEFI bootloader, graphical shell, UI framework, and a browser engine.

The story of 10x developers among us is not a myth... if anything, it's understated.

nylonstrung · 5 months ago
And unlike a similar project, they accomplished it without the benefit of divine guidance.

Very impressive!

cidd · 5 months ago
The greatest programmer who ever lived. Gifted with divine intellect.

Dead Comment

Dead Comment

Levitating · 5 months ago
You might enjoy reading the SerentiyOS progress reports

https://serenityos.org/

ktallett · 5 months ago
I want serenity now

Deleted Comment

rayiner · 5 months ago
Yeah it’s amazing.
monax · 5 months ago
Didn’t expect to see my project on the main page today ‘^^ Right now the build is broken, so you can’t test the full OS, but you can run individual apps with:

```bash ./skift.sh run --release <app-name> ```

on Linux or macOS.

To see all available apps:

```bash ls ./src/apps ```

monax · 5 months ago
This works for everything except the browser. For that, use:

```bash ./skift.sh run --release vaev-browser -- <url-or-file> ```

The HTTP stack is super barebones, so it only supports `http://` (no HTTPS). It works with my site, but results may vary elsewhere.

Most of my time so far has gone into the styling and layout engine rather than networking.

Rochus · 5 months ago
Impressive achievements, congrats! You said that your microkernel is "influenced by Zircon". Did you also study other architectures like e.g. sel4, Minix or openQNX? What do you consider the important design choices in your microkernel design? Is there a document where you go into this? Have you done performance measurements, i.e. to which other microkernel design do you think your kernel is comparable in terms of performance?
pjmlp · 5 months ago
Kudos for exploring other avenues outside UNIX.
monax · 5 months ago
Thanks! Skift is basically a patchwork of all the OS ideas I like. The UI takes inspiration from SwiftUI/Flutter, the microkernel is influenced by Zircon, and there are some Plan 9 ideas where everything is a URL. A few bits are probably inspired by NT and Darwin too, though I don’t remember exactly which.
QuantumNomad_ · 5 months ago
Skift, Karm, Hjert, Opstart.

As a Norwegian, the name of this system and those components sound Danish (Skift, Karm, Opstart) and Danish-inspired (Hjert). Am I right? :)

monax · 5 months ago
Yes, you're right, I found the Danish word cool-sounding
detached_prx · 5 months ago
Hi monax, I would like to hear how you started the project. I am also currently trying to implement my own micro kernel, with hopes of doing something similar to SkiftOS in order to learn OS fundamentals, but I don't know how to start. What are the first things to tackle when taking on such a project?
monax · 5 months ago
I don’t know what I can tell you, I think where you start and how you start don’t really matter. The important thing is to keep going. These kinds of projects are a lot of work, and as long as you keep making progress, you’ll eventually get to what you want.
qingcharles · 5 months ago
I always paste this book here when hobby OSes appear. I wrote my own GUI OS in the 90s and I couldn't have done it without this. Copies available on your usual shadow library I would imagine...

https://us.amazon.com/Developing-32-Bit-Operating-System-Cd-...

DeathArrow · 5 months ago
How much time did it take you to get the project to this phase?
monax · 5 months ago
I had multiple rewrites, but this last iteration is two years old
hu3 · 5 months ago
This is the kind of project that allows you to have a 2 line CV:

contact: your e-mail

skills: project website

and you'd get hired in a ton of places.

rubymamis · 5 months ago
The code is really well written - very understandable and modern, kudos on that!

I'm curious, how come the app I just compiled works on macOS?

monax · 5 months ago
The framework has a layer of OS abstraction, and uses SDL to create the window and get user inputs
j1000 · 5 months ago
How devs can create something like this with normal time constrains? I couldn't squeeze this kind of project having day to day 9 to 5 job as dev.
monax · 5 months ago
You don't! Most of it was written during a phase of my life where I had barely any social life '^^
j1000 · 5 months ago
Anyway, congrats, this is huge! :)
masijo · 5 months ago
I wonder the same thing.
spuz · 5 months ago
What ideas do you employ around security? Do apps have full access to memory? To hardware? Is there a permissions system? Sorry I'm not that familiar with how microkernels work.
monax · 5 months ago
Apps don’t get full access to memory or hardware. The kernel only maps what they’re allowed to see. Drivers live in user space, and apps talk to them through capabilities (handles you can pass around). There’s no ambient authority, you only get access if you’ve been given the key.
Panzerschrek · 5 months ago
What about filesystem access rights? Does any application have full access to all user's files? Or only to files belonging to this particular application?
spuz · 5 months ago
Interesting. Thanks.
pkphilip · 5 months ago
This looks really cool! congratulations to the person who made this! Is there a video demo of this somewhere?

I am amazed that you also managed to write a browser engine!

zhainya · 5 months ago
Video demo would be amazing.
exikyut · 5 months ago
It should be embedded into the website alongside the pictures, in a carousel.
reactordev · 5 months ago
Obviously not her first rodeo...

I dove deep into the code base. Found lib-sdl. Found impl-efi. Found co_return and co_await's. Found try's. Found composable classes. Found my codebase to be a mess compared to the elegance that is this. We are not worthy...

The modules... :chefs-kiss: