To clear it up I am referring to just the kernel. You can set anything you’d like as PID 1 so we can have a non-unixlike userland. For example, some users set their kernel to boot directly into Emacs, without an init system.

  • Amon@lemmy.worldOP
    link
    fedilink
    arrow-up
    2
    ·
    15 hours ago

    Couldn’t we implement a non-unixlike userland though (e.g. it’s all just emacs)

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Your updated question has given me a rather cursed idea…psychopathic even. Replace the *nix userland with wine…have win32 user space on your Linux. The biggest problem I see with the idea is wine would need a DRM backend so as to not depend on X/Wayland. Ofc the kernel API would still be *nix but your user space would be anything but. There’s only so much you can do to get away from a *nix environment when using a *nix kernel.

      • Amon@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Hey, ReactOS with actually decent hardware support!

        On a serious note why should hobby OS’s reimplement yet another kernel when a custom userland on top of Linux should suffice?

        • Scoopta@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          Lol, yeah but React isn’t Linux based so doesn’t quite end up so cursed. Last time I played with it it was still really squirrelly.

          Because it’s fun. As someone who is writing a hobbyist kernel(slowly) it isn’t about making a functional OS, it’s about learning how systems work and suffering while you do it =D.

          I wouldn’t classify React as a hobby project per-say. I suppose it is but I put hobby OSes in a category of not having a goal to ever be production ready for anyone outside the developers. Tbh react would have way better compat if they focused on win32 over Linux as opposed to developing NT from scratch but the project is also old enough(1998) to be from a time where Linux wasn’t what it is today in terms of wide spread hardware support.

    • mox@lemmy.sdf.org
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      14 hours ago

      Couldn’t we implement a non-unixlike userland though

      That’s called systemd. :P