Jump to content

  • Log In with Google      Sign In   
  • Create Account


#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