The efficiency of wasm is really impressive. An optimised build of Stockfish with POPCNT evaluates positions at ~1500kn/s on a single core of machine. By contrast, the wasm build on https://lichess.org/analysis/r4rk1/p5b1/2p2n2/1p2p3/4P2q/P1N1B3/1PP1B1Q1/2KR3n_w#0 can compute ~42kn/s in the browser for the same position!
Related Posts
GNU Make defaults to a single worker, and newer build tools (e.g. ninja) default to the number of physical CPUs.I wish there was an option for 'leave me a little bit of my machine to do stuff'.
WebAssembly seems like a totally reasonable bytecode format, but I've not had many opportunities to use it so far.
Has wasm found its 'killer app' yet?
It's a small thing, but I'm much happier with the output of --version in the latest version of difftastic.
It shows the release version number, the commit hash, and the commit date. This gives you a sense of the age of release, but you still have a reproducible build (unlike build time).
It also shows OS, arch and compiler, because those are common requirements in bug reports.