Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Tiny project and multi-threaded processes

Discussion in 'Project Tiny' started by Nightstriker, Dec 6, 2018.

  1. Nightstriker

    Nightstriker

    Joined:
    Feb 11, 2018
    Posts:
    9
    Hi,

    I was just wandering if now with the new ecs and Job system, we can have multi-threaded support on the browser like we have for desktop applications.

    thank you
     
  2. v_vuk

    v_vuk

    Unity Technologies

    Joined:
    Jul 11, 2017
    Posts:
    19
    Eventually, yes -- browsers are just now starting to add support for the needed bits, like SharedArrayBuffer. We decided to skip multithreading for the first version to reach the broadest set of devices and browsers. But it will definitely be possible down the line. When we move to C# we'll be sharing the same code, so you'll be able to write jobified code that will run in threads where available, but otherwise just run single/main-threaded where not.