(转)Android Phones to Allow Full C/C++ Programmability

Nice to see a prediction of mine come true! I suspect that Google has realized that games written in Java do not quite match up to the best games written in C/C++ or Objective-C. There's no doubt that for many types of application Java can match C/C++ for speed but not with high performance games.

Past versions of the NDK have added support for OpenGL ES, debugging capabilities, multiple ABI support, and access to bitmaps in native code. This one now adds access to a native sound buffer and the ability to write directly to window surfaces.

On the Android developer's blog they've announced that with NDK r5, it will be possible to write an entire game in C++ without a single line of Java. The only snag is that it has to be for Gingerbread (Android 2.3 or later) so don't go and buy an Android phone now unless it is definitely 2.3. (Corrected- I had this as 3.0 earlier!)

This version of the NDK also comes with a pre-built version of STLport, making it easier to bring STL-reliant applications to Android. It also adds backwards-compatible support for RTTI, C++ exceptions, wchar_t, and includes improved debugging tools.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值