• evol@lemmy.todayOP
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        8
        ·
        5 days ago

        If you want to think about the implementation I guess you could bundle it into the kernel then expose some input/output? https://lemmy.today/comment/21990242

        Where do we install apt in the first place if no software is on it, I guess if it was just raw linux you would just implement wget or curl then download whatever you wanted

        • Skullgrid@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          5 days ago

          n I guess you could bundle it into the kernel

          how do you think that works, if the kernel doesn’t even have ls ?

          • evol@lemmy.todayOP
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            4
            ·
            5 days ago

            it would be unikernel so your essentially statically linking a binary to the the linux kernel image, so it all be running in kernelspace. You would have to statically link libc and other dependencies likely (i rem red hat patching glibc for this to work but not sure what they changed?).

            • Skullgrid@lemmy.world
              link
              fedilink
              English
              arrow-up
              9
              ·
              5 days ago

              how are you this savvy with the underpinnings of the OS, but this naive about this kind of scenario and use of AI in this context?

              • evol@lemmy.todayOP
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                4 days ago

                My job involves doing performance optimizations for billion dollar tech companies so its kind of my job to know lol.

                People already have vibe coded Operating Systems, are they well made? no, I don’t think TempleOS is some enterprise grade codebase ether but its cool that he got to make his own OS. Would be cool for anyone to be able to do that.

            • in_my_honest_opinion@piefed.social
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 days ago

              This breaks the prime directive of Linux. “Don’t break userspace”

              If you’re working on the linux kernel everything you build drops once init/systemd launches.

              https://unix.stackexchange.com/questions/235335/why-is-there-a-linux-kernel-policy-to-never-break-user-space#235532

              Claude Code is an LLM that relies on multiple libraries not just glibc. What you’re proposing breaks the basic tenets of the Linux Kernel.

              I think you’d probably be better served packaging this as a RISC V OS instead as binaries do run in the kernel there.