Jump to content
Matt

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

Recommended Posts

Posted

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. ®

Source TheRegister.co.uk

  • Upvote 1
Posted

Da, Intel, cu procesoarele lor CISC (Complex instruction set computing) incearca sa se bage peste ARM, care sunt procesoare RISC (Reduced instruction set computing).

Acum problema se pune astfel: putere (Intel) sau consum mic (ARM)?

Nu m-ar deranja un Intel Atom pe telefon, insa m-ar deranja ca bateria sa ma tina 2 ore.

Posted

Evolutie? Nu prea cred...

Dispozitivele mobile au nevoie de mobilitate in primul rand, nu de cine stie ce putere de calcul. Nu va ajunge nimeni sa randeze scenarii 3d pe telefonul mobil, dar toata lumea va injura cand ii va muri bateria in momentul cel mai inoportun.

Concurenta pentru ARM-uri poate fi un lucru bun, poate se vor concentra mai mult pe raportul performante / putere consumata.

Posted
Da, Intel, cu procesoarele lor CISC (Complex instruction set computing) incearca sa se bage peste ARM, care sunt procesoare RISC (Reduced instruction set computing).

Acum problema se pune astfel: putere (Intel) sau consum mic (ARM)?

Nu m-ar deranja un Intel Atom pe telefon, insa m-ar deranja ca bateria sa ma tina 2 ore.

Am un motorola razr I[1] si este OK ca baterie.

Problema e alta, aplicatiile din market sunt compilate in marea majoritate pentru ARM. Asa ca telefoanele cu CISC vin cu un translator care ruleaza la runtime (ARM to x86). Asta are un impact asupra performantei...

Alternativa ar fi sa convingi toti producatorii de aplicatii sa faca o versiune x86 friendly :)

[1] - Motorola RAZR i XT890 - Full phone specifications

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...