U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47784&th=9933#msg_47784
ptkacz2017-03-26T03:28:00-00:00Re: Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47789&th=9933#msg_47789
We developed the ability to run u++ application inside the web browser using JavaScript. If you are interested you can check WebWorld (examples assembly). You can compile it by your own.
The current problem now is that WebAssembly doesn't support direct c++ api for events etc. Everything should be done on JS side. But, I see the big potential in the future when the biggest drawbacks will be eliminated.
Sincerely,
Klugier
]]>Klugier2017-03-26T12:03:00-00:00Re: Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47809&th=9933#msg_47809
It will be nice when JS isn't needed any more.
Finally found it, the Unreal Engine demo making use of Web Assembly:
Peter
]]>ptkacz2017-04-01T22:24:33-00:00Re: Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47817&th=9933#msg_47817
Thanks for tech demo. I am pretty sure that events is handle by calling web assemblies code from java scirpt (like bindings to other languages).
Sicnerely,
Klugier
]]>Klugier2017-04-02T19:43:22-00:00Re: Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47825&th=9933#msg_47825
http://webassembly.org/demo/
Looks like they have a Unity tutorial titled, "Unity - Tanks Tutorial":
https://unity3d.com/learn/tutorials/projects/tanks-tutorial
]]>ptkacz2017-04-05T02:33:41-00:00Re: Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=48346&th=9933#msg_48346
Klugier wrote on Sun, 26 March 2017 14:03
The current problem now is that WebAssembly doesn't support direct c++ api for events etc. Everything should be done on JS side. But, I see the big potential in the future when the biggest drawbacks will be eliminated.
How is that a problem? It should be possible to wire JS events to C++, similiar to how it is done in WebWorld...]]>mirek2017-06-25T05:18:32-00:00Re: Web Assembly... Compiling U++ code to run in the web browser...
https://www.ultimatepp.org/forums/index.php?t=rview&goto=48356&th=9933#msg_48356
It is not a problem, but it requires additional language layer that can be avoid on the library level. For example in Android, Google allows event handling on C++ level.