Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Web Assembly... Compiling U++ code to run in the web browser...
Web Assembly... Compiling U++ code to run in the web browser... [message #47784] Sun, 26 March 2017 05:28 Go to next message
ptkacz is currently offline  ptkacz
Messages: 17
Registered: March 2017
Promising Member
With the dawn of a new age in web technology, it would be neat to be able to have one's U++ program compile to Web Assembly and run on any web browser!
Re: Web Assembly... Compiling U++ code to run in the web browser... [message #47789 is a reply to message #47784] Sun, 26 March 2017 14:03 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 420
Registered: September 2012
Location: Poland, Kraków
Senior Member
Hello,

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


Ultimate++ - one framework to rule them all.

[Updated on: Sun, 26 March 2017 14:03]

Report message to a moderator

Re: Web Assembly... Compiling U++ code to run in the web browser... [message #47809 is a reply to message #47784] Sun, 02 April 2017 00:24 Go to previous messageGo to next message
ptkacz is currently offline  ptkacz
Messages: 17
Registered: March 2017
Promising Member
Klugier,

It will be nice when JS isn't needed any more.

Finally found it, the Unreal Engine demo making use of Web Assembly:

https://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGard en.html

Wonder how they implemented their use of events?


Peter
Re: Web Assembly... Compiling U++ code to run in the web browser... [message #47817 is a reply to message #47809] Sun, 02 April 2017 21:43 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 420
Registered: September 2012
Location: Poland, Kraków
Senior Member
Hello,

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


Ultimate++ - one framework to rule them all.
Re: Web Assembly... Compiling U++ code to run in the web browser... [message #47825 is a reply to message #47784] Wed, 05 April 2017 04:33 Go to previous message
ptkacz is currently offline  ptkacz
Messages: 17
Registered: March 2017
Promising Member
Here's another demo, "Tanks! Demo":

http://webassembly.org/demo/


Looks like they have a Unity tutorial titled, "Unity - Tanks Tutorial":

https://unity3d.com/learn/tutorials/projects/tanks-tutorial
Previous Topic: Visual Studio (Community) 2017 released
Goto Forum:
  


Current Time: Sun Apr 23 07:26:15 CEST 2017

Total time taken to generate the page: 0.64098 seconds