Is WebAssembly the new Java? I wouldn't be surprised to see standalone containers for running WebAssembly without needing all the trappings of a web browser.
Here is a tutorial to make a small HTML5 game with Cheerp using mixed mode WebAssembly/JavaScript output. <a href="https://github.com/leaningtech/cheerp-meta/wiki/Cheerp-Tutorial:-Mixed-mode-C---to-WebAssembly-and-JavaScript" rel="nofollow">https://github.com/leaningtech/cheerp-meta/wiki/Cheerp-Tutor...</a>