OpenMP的在iOS / Android的OpenMP、iOS、Android

2023-09-06 10:38:19 作者:像雾像雨又像风

OpenMP是支持海湾合作委员会是跨平台的...但这是否意味着OpenMP是支持所有目标平台上?具体而言,iOS和Android ** ...为手机/平板电脑移动到四核,不使用所有的核心游戏将是一个巨大的劣势。

OpenMP is supported in GCC which is cross-platform... but does that mean OpenMP is supported on all target platforms? Specifically, iOS and Android**... as phones/tablets move to quad-core, not using all the cores in games will be a huge disadvantage.

**的作为一个非移动开发者,我不知道你是否能在第一时间编写C ++应用程序的机器人?的

推荐答案

这是未必如此。示例:的http://groups.google.com/group/android-ndk/browse_thread/thread/a547eac5446035b4?pli=1

This is not necessarily the case. Example: http://groups.google.com/group/android-ndk/browse_thread/thread/a547eac5446035b4?pli=1

OMP不支持在所有目标GCC平台。这当然不适用于音乐游戏机,例如,即使GCC可以针对ARM / Thumb体系结构中。

OMP is not supported on all target GCC platforms. It's certainly not available for Gameboy Advance, e.g., even though GCC can target ARM/Thumb architectures.

在iOS的一面,我不知道,如果OMP支持与否,但苹果很可能会大力鼓励使用的中央调度库,重点异步任务排队(苹果确实推出了一个具有理想的幸福应用程序不应该拖延,并显示一个加载图标是从刚才并行循环完全不同,以加快顺序处理)。

On the iOS side, I'm not sure if OMP is supported or not, but Apple would probably strongly encourage the use of their Grand Central Dispatch library with focus on asynchronous task queuing (Apple really pushes that one with the ideal being that applications should never stall and show a loading icon which is quite different from just parallel loops to speed up sequential processing).

作为一个非移动开发者,我不知道你能不能写C ++应用程序的   Android在首位?

As a non mobile-developer I don't know if you can write C++ apps for Android in the first place?

是的,C和C ++使用Android NDK是支持构建原生Android应用程序的两种语言,而iOS的重点是C,C ++和Objective-C。

Yes, C and C++ with the Android NDK are the two languages supported for building native Android applications, while iOS focuses on C, C++, and Objective-C.