• PlexSheep@infosec.pub
      link
      fedilink
      arrow-up
      2
      ·
      17 days ago

      You don’t need a language runtime if your program has no runtime, right? A rust or C program is just the program, no runtime.

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        17 days ago

        Well they still have runtimes, but yes they can be pretty minimal.

        You’re still shipping a load of libraries that come for free with JS though, e.g. with Rust WASM string formatting and unicode support always ends up being annoyingly huge, and that’s built in to JS engines. There’s also collections (Map, Set), etc.