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 » Developing U++ » External resources » Emscripten - Compile your C++ code to run in any web browser
Emscripten - Compile your C++ code to run in any web browser [message #39027] Thu, 07 February 2013 19:16 Go to next message
zsolt is currently offline  zsolt
Messages: 601
Registered: December 2005
Location: Budapest, Hungary
Contributor
Update: Changed the title from "C++ -> JavaScript Compiler" to be more relevant.

There is a short Emscripten tutorial explaining what is this about.
Very promising project Smile
Zsolt

The original opening post:

An extremely cool project Smile

It's integration would be idealistic in U++ web development. We could write all the validation code of forms only in C++ and run it not only on the server, but in the browser as well (compiled to JavaScript).

They are able to compile and run complete Qt applications. Demos are online!

See the project (emscripten) on github.

[Updated on: Fri, 22 March 2013 19:02]

Report message to a moderator

Re: C++ -> JavaScript Compiler [message #39042 is a reply to message #39027] Sat, 09 February 2013 12:04 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 488
Registered: November 2008
Location: France
Senior Member
This sounds really very interesting, thank's

I just tried supertux and it works fine ( after some downloading of coarse)

[Updated on: Sat, 09 February 2013 12:12]

Report message to a moderator

Re: C++ -> JavaScript Compiler [message #39164 is a reply to message #39042] Wed, 20 February 2013 23:39 Go to previous messageGo to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Very interesting!

Thanks for posting!
Re: C++ -> JavaScript Compiler [message #39490 is a reply to message #39027] Fri, 22 March 2013 18:53 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 601
Registered: December 2005
Location: Budapest, Hungary
Contributor
Good news!

Mozilla's new asm.js optimization module for Firefox’s JavaScript engine is now in Nightly builds and will ship with Firefox 22 in June.

This will allow very fast execution of e.g. C++ code compiled to this limited javascript language.
Re: Emscripten - Compile your C++ code to run in any web browser [message #39492 is a reply to message #39027] Fri, 22 March 2013 19:43 Go to previous message
forlano is currently offline  forlano
Messages: 1071
Registered: March 2006
Location: Italy
Experienced Contributor
zsolt wrote on Thu, 07 February 2013 19:16

Update: Changed the title from "C++ -> JavaScript Compiler" to be more relevant.

There is a short Emscripten tutorial explaining what is this about.
Very promising project Smile
Zsolt

The original opening post:

An extremely cool project Smile




Hi Zsolt,

Thank you for this good news!
I've a question: can we compile our U++ application by using LLVM?
Does anybody tried to browserize its U++ GUI application?
It works in 32 bit mode and there is no need to upgrade computer as with flashcc tool.

Luigi
Previous Topic: flashcc - Compile your C++ code to run in Flash Player
Next Topic: CppCMS — C++ Web Framework
Goto Forum:
  


Current Time: Tue Dec 10 12:14:52 CET 2019

Total time taken to generate the page: 0.01583 seconds