Archive for June, 2012

C++ assembly speed for 3D JavaScript Metro Apps

OK…I did not realize this…

This weekend I did a hello world 3d Metro App example for my Users Group where I took threejs brought it into 2012RC and created a Metro App. I immediately got a performance enhancement. So when the 3D app lagged in Firefox, it zipped as a metro app (60 Hz). What happened?


Not only is the WinRT APIs built directly on the Windows Kernel (no jitting, no IL interpretation, nothing happening between your code and the fundamental kernel interfaces that executes commands), but even the layer above which goes into the languages and applications is effectively just middle. There is a mechanism that takes the C++ headers and auto-generates C# and JavaScript headers in a way consistent with those languages. When you compile and execute JavaScript or C# and look at the assembly it’s as if it had been run in C++. There is nothing that would slow you down – WOW! Metro apps are embedded in game technology – full screen, immersive, C++ like, and 60Hz.

Game On!

This further gives you the ability to expose core C++ technology to JavaScript. And if you’ve ever worked with 3D ActionScripting you will realize how significant this really is!

Meeting 6/16/12

Posted: June 14, 2012 in Flash Builder Users Group

This Saturday (6/16/12) at Panera Bread on Houston Rd in Florence Kentucky at 9am, I will be doing Windows 8 and Mobile Interface training. To log in remote use the following Adobe Connect link:

In addition to the Windows 8 training, I’ll discuss how you can make money building Metro Apps and I’ll be building a Mobile interface from scratch using JQueryMobile in Visual Studio.

See you there.