• einlander@lemmy.world
    link
    fedilink
    English
    arrow-up
    104
    arrow-down
    6
    ·
    15 hours ago
    • Programming was never meant to be abstract so far from the hardware.
    • 640k is enough ram for everybody.
    • The come with names like rust, typescript, go, and python. Names thought up by imbeciles.
    • Dev environments, environmental variables, build and make scripts, and macros, from the minds of the utter deranged.

    They have played us for fools

    • mynameisigglepiggle@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 hours ago

      I dabbled with making a fairly complex program for a microcontroller the other day and quickly hit the stack limit for a simple object.

      It wasn’t so much that it was a large object, but to provide flexibility I was amazed how fast I filled the memory.

      I’ve done heaps with memory managed languages in the past but shit as soon as I had to think about what I was doing under the hood everything got hard af.

      So serious question - does anyone have any good resources for a competent programmer, but with no clue whatsoever how to manage memory in a microcontroller space and avoid fragmentation etc?

      I got it to work but I’m sure I did shit job and want to be better at it.