If you allow threads to share memory arbitrarily you need to add locking to all internal VM structures, which is going to be a significant slowdown.<p>Also it&#x27;s not (any longer) considered good practice to have languages that allow mutable memory sharing since that makes software unreliable, so it&#x27;s not really a good idea.<p>Without arbitrary memory sharing, multi-threading is already supported with web workers.