• atzanteol
    link
    fedilink
    English
    arrow-up
    16
    ·
    2 months ago

    It forces you to be careful in the way it wants you to be careful. Which is fine, but it makes it a strange beastie for anyone not used to it.

      • atzanteol
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        2 months ago

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

        • Kairos@lemmy.today
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          2 months ago

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

          • InverseParallax@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 months ago

            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.