It's finally here! The wait for Godot 4.2 begins...

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago (2 children)

I really hope they won’t remove SharedArrayBuffers. It’s the technology that allows multithreading in a web browser.

Since modern CPUs ship with 16 hardware threads and even 128 thread machines are coming up, it’d let a lot of performance remain on the table that could better be used to improve performance.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 3 years ago (1 child)

    Having the option at least would be nice. I know the benefits of using sharedarraybuffers but right now there are a ton of websites that don't support it. Maybe in a year or two it could be standard.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 years ago

    I can’t speak for the devs, but my feeling is that it would be a lot of work to maintain two systems in parallel, one multithreaded and one singlethreaded, especially for a niche platform.

    Bevy does it this way (doesn’t support multithreading at all on the web), but that engine is much leaner.

  • source
  • parent