• Vilian
    link
    fedilink
    arrow-up
    6
    arrow-down
    5
    ·
    5 months ago

    One thing that no-one tested is the overhead of all the sandbox, like, each module, lybrary of program run in a sandbox(some times they tweak the source code not need the sandbox) so I wanted to see the overhead of all of that

    • ivn@jlai.lu
      link
      fedilink
      arrow-up
      18
      arrow-down
      1
      ·
      5 months ago

      It build in a sandbox, but it’s not run in a sandbox.

      • Vilian
        link
        fedilink
        arrow-up
        2
        arrow-down
        3
        ·
        5 months ago

        I don’t understand, if you run a program inside the sandbox and the program ask for a library, the kernel need to map the library from inside the sandbox to the program, that overhead that I’m talking about

        • Laser@feddit.org
          link
          fedilink
          arrow-up
          22
          arrow-down
          1
          ·
          5 months ago

          This is not how NixOS works. Programs directly link against libraries in the store. There is no sandbox by default when running the binaries.

        • ivn@jlai.lu
          link
          fedilink
          arrow-up
          17
          ·
          5 months ago

          But it’s not run in a sandbox. I’m not sure where you get this from.

    • Mio@feddit.nu
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      No, because it miss an ui for the config changes.

      I think NixOS is also doing some layering that could cost performance. I am unsure about the storage size, if it is much more like flatpak and snaps that I also dislike.