Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#ActualKarsten_

Posted 18 August 2013 - 04:27 PM

When compiled using Emscripten / C++ the output software runs noticeably faster than hand written Javascript but I am still finding it hard to get anywhere near the performance of a native desktop OpenGL application.

 

On my Android test device, a spinning cube will run fine when compiled using Java (SDK) or C++(NDK) however when running the same project via a web browser, it is extremely slow and gets very hot.

 

Since the rotating cube doesn't really have much code executing per frame, I don't think it is a Javascript speed thing, it must be how the browser vendors have implemented OpenGL ES 2. This should get better over time.


#2Karsten_

Posted 18 August 2013 - 04:26 PM

When compiled using Emscripten / C++ the output software runs noticeably faster than hand written Javascript but I am still finding it hard to get anywhere near the performance of a native desktop OpenGL application.

 

On my Android test device, a spinning cube will run fine when compiled using Java (SDK) and C++(NDK) however when running the same project via a web browser, it is extremely slow and gets very hot.

 

Since the rotating cube doesn't really have much code executing per frame, I don't think it is a Javascript speed thing, it must be how the browser vendors have implemented OpenGL ES 2. This should get better over time.


#1Karsten_

Posted 18 August 2013 - 04:25 PM

When compiled using Emscripten / C++ the output software runs noticeably faster than hand written Javascript but I am still finding it hard to get anywhere near the performance of a native desktop OpenGL application.

 

On my Android test device, a spinning cube will run find when compiled using Java (SDK) and C++(NDK) however when running the same project via a web browser, it is extremely slow and gets very hot.

 

Since the rotating cube doesn't really have much code executing per frame, I don't think it is a Javascript speed thing, it must be how the browser vendors have implemented OpenGL ES 2. This should get better over time.


PARTNERS