News for hackers. Stuff that matters.
Re:Show HN: WASM and WebGL Fluid Simulation by LinguaBrowse on Thursday July 29, 2021 @10:20AM (#27996865)
> Built with box2d-wasm's liquidfun release.

Very nice! How does this relate to the Google official release of Liquidfun, and the mainline release of Box2D?

Re:Show HN: WASM and WebGL Fluid Simulation by Birch-san on Thursday July 29, 2021 @10:28AM (#27996960)
Liquidfun [0] diverged from Box2D at v2.3.0, circa November 2013.

liquidfun-wasm [1] is my effort to rebase the liquidfun contributions onto latest Box2D, v2.4.1 (October 2020), and to distribute it in WebAssembly with TypeScript typings.

this work is detailed in liquidfun-wasm's first release notes. [2]

I've also enabled WASM SIMD acceleration (via LLVM's autovectorizer) on supported devices. Haven't yet measured what performance difference this makes.

[0] http://google.github.io/liquidfun/ [1] https://github.com/Birch-san/box2d-wasm/releases/tag/liquidf... [2] https://github.com/Birch-san/box2d-wasm/releases/tag/v4.0.0-...