4 ms·
My survey compiler compiles surveys to c++. Using emscripten I was able to compile and run the survey in a browser. You can include a web framework - I used Doj
by neilxdsouza 13y ago
My survey compiler compiles surveys to c++. Using emscripten I was able to compile and run the survey in a browser. You can include a web framework - I used Dojo and got it to work quite easily. I then used Dojo mobile - and was able to get that to work to (but may need some tweaking as Im neither a JavaScript nor Dojo Expert).
I am able to easily access the DOM and I am able to pass data back to my c++ functions too (responses to the survey to be stored). However it's not ASM.js that is the novelty for me, but being able to target the browser with almost the same c++ runtime code.