Turns out the status quo of Linux memory management somehow works pretty damn okay, nobody seems to really know why, and nobody cares.

  • where_am_i@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    1
    ·
    3 months ago

    Looks like your CS degree is actually teaching you CS stuff.

    If all you wanted to do is center divs for 50$/h or so, a 2 months bootcamp would’ve been more than sufficient.

      • where_am_i@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        19
        ·
        3 months ago

        I understand. Safety and stability of embedded software is clearly overrated.

        Why learn about stack overflow. Tomorrow some kid will press the “open” button on your device, will get rejected 64 times, and on the 65th the locking mechanism will crash. Makes sense to me.

        • LH0ezVT@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          26
          ·
          edit-2
          3 months ago

          Get a nice cup of tea and calm down. I literally never said or implied any of that. Why do you feel that you need to personally attack me in particular?

          All I said was that a supposedly easy topic turned into reading a lot of obscure code and papers which weren’t really my field at the time.

          For the record, I am well aware that the state of embedded system security is an absolute joke and I’m waiting for the day when it all finally halts and catches fire.

          But that was just not the topic of this work. My work was efficient memory management under a lot of (specific) constraints, not memory safety.

          Also, the root problem is NP-hard, so good luck finding a universal solution that works within real-life resource (chip space, power, price…) limits.

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

      you just gave me a panic attack about trying to get ultima underworld II and Star Wars: TIE Fighter to run

      • Angry_Autist (he/him)@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        3 months ago

        For me I loved the challenge of squeezing out a few extra k of lower memory. My autoexec.bat had four hundred lines in it.

        I miss those days honestly. There’s really not much practical benefit to overclocking anymore, even broke college kid level devices come with at least 8 gigs of ram.

        8… gigs… of ram… and ALL of it treated like lower memory… Could you imagine that in the mid 90s? I’d be thinking star trek.

        • EleventhHour@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          3 months ago

          I learned so much in those days about the outrageously absurd, efficiency of code and concatenation and stupid little things. Early days of coding and even scripting through these silly difficulties shaped us in ways we can’t even recognize now.

          It was all about solving puzzles using primitive tools and incompatible systems just so we could play simple games. I’m reading articles now about how Gen Z doesn’t even know how to type, lol.

  • Captain Howdy@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 months ago

    I use/admin Linux each and every day at a professional level and at least once a week I’m final panel doggo.

  • Grubberfly 🔮@mander.xyz
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    is it a common ocurrence on Linux that you have to constantly mess with the settings and end up in an obscure rabbithole? that’s why I haven’t given it a go.

    • LH0ezVT@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 months ago

      No, not really. This is from the perspective of a developer/engineer, not an end user. I spent 6 months trying to make $product from $company both cheaper and more robust.

      In car terms, you don’t have to optimize or even be aware of the injection timings just to drive your car around.

      Æcktshually, Windows or any other OS would have similar issues, because the underlying computer science problems are probably practically impossible to solve in an optimal way.