O'Reilly logo

Building Windows 8 Apps with JavaScript by Don Box, Brandon Satrom, Chris Sells

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12. Native Extensibility

JavaScript is a simple yet powerful language. The JavaScript engine in Windows offers the performance needed for developers to create highly responsive Windows Store apps. For many tasks in a Windows Store app, JavaScript is the only language you’ll need. However, there are times when JavaScript is not the right tool for the job. Fortunately, Windows allows JavaScript programs to efficiently and easily work with code written in C or C++. Why would you want to do this? Typically, you would do so for one or more of the following reasons:

• You have existing C++ code that you want to access from your app that is impractical or impossible to port to JavaScript.

• You need to access Windows capabilities that are not exposed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required