guess the number.

this is a test program. it is my experiment at writing some wasm using C. I was hoping to prove out a PoC where, you do a thing in html, and it sends the response to the wasm function.

I know there are easier frameworks for this (c# and blazor). I also know that many game engines build their apps to html almost as a compatability layer so that any kind of device can use it. I think that fundamental idea is interesting in its self, because it takes something that is otherwise not native to the web at all, and throws it into your DOM. im sure that there are some very obvoius handicaps with this (being your limited to the dom). But it wasnt until i went to generate a QR code with adobe, and was unable to do so because i didnt have webview2 installed. This immediately feels like there is maybe some wasm code thats present in my browser that generates the QR code.

That being said, i figured id better get into wasm programming at some point, atleast to have a frame of view.






>


Result: