Add NPM support via WASM - #18
Conversation
|
Hi again! To be honest, I don't have a great understanding of WASM but as I understand it the main point of it is to call it from the browser to offload some heavy computing to a faster language than JavaScript. I would assume calculating ratings is mostly done in the backend anyways, plus calculating single games is fairly fast, even in JS. I made this calcluator for TrueSkill, the slowest algorithm included here in JavaScript (https://github.com/atomflunder/TrueSkill-Calculator) using the I am happy to hear your thoughts on something I am overlooking here |
|
Your points are valid, I see two particular use cases:
It wouldn't hurt maintainability too much and it would be great to have upcoming algorithms available in JavaScript. |
This adds npm build via wasm, I would say its useful moving forward.
I added the Yuksel WASM bindings, it won't build until yuksel is merged.
#17