12 comments

  • thegeomaster 1 hour 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 8 minutes ago
      And unlike a similar project, they accomplished it without the benefit of divine guidance.

      Very impressive!

  • monax 4 hours 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 ```

    • Rochus 15 minutes 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?
    • monax 4 hours 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.

    • pjmlp 4 hours ago
      Kudos for exploring other avenues outside UNIX.
      • monax 4 hours 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.
        • pjmlp 52 minutes ago
          Maybe adding some Xerox PARC, Oberon, NeXTSTEP / NeWS style, Powershell ideas could also be interesting, on how the shell, UI, and dynamically loaded code (or OS IPC), makes the whole OS customizable, , just throwing another set of ideas into your bucket.

          Overall it looks interesting, all the best.

        • keyle 1 hour ago
          Sounds like really solid ideas. You must have a lot of experience to inspire yourself from so many diverse niche worlds. GL!
    • DeathArrow 3 hours ago
      How much time did it take you to get the project to this phase?
      • monax 3 hours ago
        I had multiple rewrites, but this last iteration is two years old
  • tampueroc 40 minutes ago
    Slightly related and coming from ignorance here, but what is the general intuition for the pros and cons of a microkernel approach in OS development?
  • rubymamis 1 hour 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?

  • pkphilip 5 hours 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 37 minutes ago
      Video demo would be amazing.
  • Panzerschrek 4 hours ago
    What else does it have rather than beautiful UI? Network support? Sound? What file systems does it support? What about multiple users? What about applications isolation?

    It would be nice to have such information displayed somewhere on the site.

    • monax 4 hours ago
      It’s a microkernel-based operating system. Mostly just a learning/fun side project for me. It implements something akin to the NixOS /store. Hardware, networking, sound, and the file system are all very barebones. Most of the work so far has been put into the framework, some example apps, and the browser.
  • brodo 1 hour ago
    Very impressive! Do you support GPUs or is the UI completely CPU rendered? It looks really beautiful.
  • spuz 2 hours 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 2 hours 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 35 minutes 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?
        • monax 31 minutes ago
          Applications will each have their own namespace, and will only have access to user files if given the right to, on a per directory/file basis
      • spuz 1 hour ago
        Interesting. Thanks.
  • kencut801 43 minutes ago
    Roblox
  • binocry 3 hours ago
    damn this is really good. I hope the register folk sees this.
  • akash100x 3 hours ago
    so cool! building from past 6 years (impressive)