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.

  • mox
    link
    fedilink
    271 month ago

    non-unixlike

    Linux-based

    Sorry, friend, but you’ll have to pick one. Linux is Unix-like.

    • AmonOP
      link
      fedilink
      21 month ago

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

      • mox
        link
        fedilink
        81 month ago

        Couldn’t we implement a non-unixlike userland though

        That’s called systemd. :P

      • @Scoopta@programming.dev
        link
        fedilink
        31 month 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.

        • AmonOP
          link
          fedilink
          31 month 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
            21 month 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.