Hacker News new | ask | show | jobs
by malkia 1927 days ago
If it's running on canvas, normally you would see "unpkg.com/canvaskit-wasm" - and even then it may not be the latest (supposedly more optimized) version. For example, my simple Super Tic Tac Toe app - uses it - https://malkia.github.io/tictactoe/#/ - but the gallery was compiled to use HTML, instead of canvas - which would be slower (IMHO). I think there is even mixed mode - where it can choose one or another ("fat" binary on the web ;)).

Please look at the Source (in chrome) to compare.

1 comments

It is. I have wasm disabled and it throws an error:

    Uncaught ReferenceError: WebAssembly is not defined
and it includes what you mentioned, unpkg.com/canvaskit-wasm@0.24.0/bin/canvaskit.js:150
Ah, you are right - not sure how I missed it first time, but now I see it.