Pure C/C ++ Development Survey on several major mobile platforms

Source: Internet
Author: User
Reprinted please indicate the source for the klayge game engine, the address of this Article for http://www.klayge.org /? P = 891

With the development of mobile platform software and hardware, more and more games are available on mobile platforms. For example, unreal and other big-name game engines also have the mobile version. It may not be long before cryengine will appear on the phone.

Apart from software and hardware, the development language is another factor that hinders development. Almost all game engines on existing desktop platforms are completed using C/C ++. If C/C ++ is not supported on mobile platforms, the engine rewrite costs will be very high. Next, let's take a look at how popular mobile platforms support pure C/C ++.

Symbian

As a veteran mobile system, the Symbian platform has always supported C ++ well. The official Symbian SDK contains Symbian C ++, STL, and boost.

IOS

IOS is so popular with iPhone and iPad, but Apple's sdks only support objective-C. Since the ios sdk uses the GCC tool chain, you can also use GCC to compile C/C ++ Code directly. It is said that the C ++ SDK provided by Apple can be obtained after application.

Another option is applicable to third-party sdks, such as the dragonfire SDK. It can use pure C/C ++ in Windows to develop iOS programs and get rid of MAC requirements.

Android

Android's "default language" is Java, but my recent post "android pure C/C ++ development" mentioned the method of pure C/C ++ development with ndk. In addition, you can use the complete STL, rtti, boost, and so on without the third-party modified crystax ndk.

Windows Phone 7

Although the previous generation of Windows Mobile has good support for C ++, Windows Phone 7 (WP7) currently only provides C # And sliverlight for development, c ++ native code is not supported. It is a pity that no signs of looseness have been seen yet. Onan Games provides a middleware that can execute C, C ++, and objective-C source code in browsers, WP7, and Flash. I guess dynamic compilation and other methods are still not native, and the efficiency is the same as that of Java virtual machines.

Meego

Meego has been plagued by Intel and Nokia for so many years and remains unchanged. Meego's kernel is Linux, and the SDK's native language is C/C ++, so there is no problem in this regard.

Summary

In general, At present, several mobile platforms can be smoothly developed using pure C/C ++, just like WP7.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.