Skip to content

Fallback to non-SIMD

Compare
Choose a tag to compare
@Birch-san Birch-san released this 09 Jan 00:08
· 103 commits to main since this release

we now distribute compat + deluxe flavours.

on startup, entry.mjs checks whether your browser supports SIMD.
if you support SIMD: we load deluxe.
if you don't: we load compat.

deluxe = SIMD + pthreads
compat = neither

image

if you have trouble with pthreads or growing shared memory, you can turn them off using the pthreadCount and sharedMemEnabled options documented in:
https://github.com/Birch-san/box2d3-wasm/releases/tag/v3.5.0