• meaansel@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    On GC With no virtual memory, memory fragmentation is a possibility on wasm targets It’s funny that for memory management you either have to deal with fragmentation like it’s a microcontroller (or 90s) or a fully blown garbage collection.

    I mean, don’t get me wrong, having GC is perfectly reasonable. Every other language was gonna (and currently does) implement it anyway - so might as well lower it into native code.

    • meaansel@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 hours ago

      …But i fell like a case for memory management usually provided by system and cpu for low-level languages is just as strong (couldn’t edit comment above for some reason)