• sugar_in_your_tea
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    Yeah, you need to have some JS to manipulate graphics, so the Rust web frameworks have a JS shim to do that and communicate with the WebAssembly Rust code as necessary. It works surprisingly well tho.

    • sabin@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      Wasm bindgen is an absolute nightmare of auto-generated function names. From a purely performance/functionality perspective it works but it’s hella ugly. I hope some alternative arrives at some point.