Feeds

Intel ships high-powered C++ compiler for native Android apps

Drop-in replacement for GCC promises better performance

Securing Web Applications Made Simple and Scalable

Intel has released the Intel C++ Compiler v13.0 for Android OS, its first attempt at delivering an optimizing C/C++ compiler designed specifically for Google's mobile platform.

The release is notable for a number of reasons. First, the overwhelming majority of Android devices are currently built around chips based on the ARM architecture. Intel's compilers can only output code for its own chips, including its Atom line of mobile processors.

Second, the majority of Android app development is done not in C++ but in Java. Specifically, developers use Oracle's Java SDK to compile their code and then run it through a further tool that converts it into Android's unique Dalvik binary format, which can be executed by virtual machines running on a variety of chips.

Still other developers build Android apps using HTML5 and related technologies, which typically don't require a compiler at all.

Intel says it's not trying to lure developers away from any of these methods. Instead, its new C++ Compiler for Android is designed for apps that take advantage of the Android Native Development Kit (NDK), which is typically used to develop components for performance-intensive apps, such as games.

The current version of the Android NDK uses version 4.6 of the open source Gnu Compiler Collection (GCC) toolchain by default. But Intel's compilers include lots of proprietary optimizations for its own chips, and can often output executable code that performs better than that produced by third-party compilers such as GCC.

According to Intel's FAQ, its C++ Compiler for Android provides drop-in source code compatibility with Gnu C++, but it outputs more efficient code that executes faster and helps keep devices cool and power consumption low.

The new compiler can't be used to generate code that runs on Windows, OS X, desktop Linux, or any other operating system. It can only produce code for Android – and specifically, Android version 4.0 and up (releases codenamed "Ice Cream Sandwich" and "Jelly Bean").

You can't use the compiler on just any development machine, either. Neither Windows nor OS X is supported; the tools are only certified for use with Ubuntu 10.04 or 11.04 (the latter version being nearly two and a half years old). Versions for other platforms may be forthcoming – Intel says "stay tuned."

In an unusual move, Intel is making this first version of its Android compiler available as a free download for a limited time. By comparison, Intel C++ Composer XE 2013, Chipzilla's C++ tools collection for desktop operating systems, retails for $699 (£450) for Windows, Linux, or OS X. The company isn't saying how long the tools will be available for no charge, or what will happen after that.

To get the compiler, head on over to Intel's registraiton site where you will be asked to submit your email address to receive a personalized download link. ®   

Bridging the IT gap between rising business demands and ageing tools

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.