Originally, I was going to use D, but its current WASM guideline is buried under a lot of Discord threads, all while people are lazy to touch the wiki. I need to test stuff with WASM (use for scripting in applications, not browsers).

Please NO RUST!!! While I see why functional programming is useful (I even use wasmtime as my WASM engine, which is developed in Rust), but is horribly counterproductive for game development, especially if it’s opt out like in Rust.

EDIT: In the meanwhile, I’ve found AssemblyScript, which seems to be good for my usecase.

  • CookieOfFortune@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Are there benefits in not having a GC in WASM?

    Also are there mainstream memory safe languages without a borrow checker? There’s some experimental ones out there.

    • unique_hemp
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      At least a while back there was not a built-in GC on the WASM runtime side, so the GC has to be shipped with every app.