且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android SDK 和 NDK 有什么区别?

更新时间:2023-11-06 15:53:10

据我所知,使用 NDK 的唯一原因是从应用程序中榨取额外的性能并更接近裸机.如果您不需要执行上述任何一项操作,您可能应该远离 NDK.

The only reasons to use the NDK as far as I know is to squeeze extra performance out of your application and get closer to the bare metal. If you don't need to do either of these things, you should probably stay away from the NDK.

另请注意,Dalvik VM 已经具有非常棒的性能并且相对简单.

Also note that the Dalvik VM already has some pretty awesome performance and comparatively simpler.