• Kairos
    arrow-up
    9
    arrow-down
    1
    ·
    28 days ago
    link
    fedilink

    Yes

    But the trade off is well worth it.

    • atzanteolEnglish
      arrow-up
      4
      arrow-down
      1
      ·
      28 days ago
      link
      fedilink

      It can be, sure. I prefer garbage collectors but I’m not doing systems programming.

      • Kairos
        arrow-up
        7
        arrow-down
        0
        ·
        28 days ago
        edit-2
        28 days ago
        link
        fedilink

        I feel like a garbage collector would be too much a performance hit for kernel stuff.

        • InverseParallaxEnglish
          arrow-up
          3
          arrow-down
          0
          ·
          28 days ago
          link
          fedilink

          2 things:

          1. It’s more the determinacy, a GC randomly fires up and your systems stops for some long amount of time. There are pauseless GCs but that’s a different nightmare.

          2. The kernel has things similar to GCs. They’re used for more specialized tasks, and some (like rcu) are absolute nightmares that have take decades to get working.