简体   繁体   English

32 位架构与 64 位架构的主要区别在于应用程序速度和内存管理形式?

[英]How 32bit architecture is differ from 64bit architecture mainly in form of app speed and memory management?

As per my knowledge, OS architecture is generally used to speed up our OS and adding new features with higher memory management but in IOS i am little bit confuse regarding architecture which we generally set in our app is as below据我所知,操作系统架构通常用于加速我们的操作系统并添加具有更高memory management新功能,但在IOS我对我们通常在我们的应用程序中设置的架构有点困惑,如下所示

Architectures - Standard Architecture (armv7,arm64) Valid Architectures - armv7,arm64,armv7s .架构- Standard Architecture (armv7,arm64) Valid Architectures - armv7,arm64,armv7s

Due to this, we are getting many warnings related to datatypes size and conversation because 64-bit architecture is the use of processors that have datapath widths , integer size , and memory address widths of 64 bits .因此,我们收到许多与数据类型大小和对话相关的警告,因为64-bit architecture使用的processors具有64 bits datapath widthsinteger sizememory address widths

so my question is I want to understand what mechanism will work behind this while I generating IPA file for 32 bit supported architecture or 64 bit architecture (I know now after XCode-6 we will only build our app with 64-bit architecture with bitcode enabled in our app for thining our app size)所以我的问题是我想了解机制背后,而我产生工作什么IPA文件32 bit支持的体系结构或64 bit体系结构(我现在知道以后XCode-6我们将只与64位架构,建立我们的应用程序与bitcode启用在我们的应用程序中用于缩小我们的应用程序大小)

Can anyone help me with this to understand architecture mechanism, especially in IOS?任何人都可以帮助我理解architecture机制,尤其是在 IOS 中?

Your help will be appreciated.您的帮助将不胜感激。

There are two architecture settings in an iOS project: iOS 项目中有两个架构设置:

  • Architectures架构
  • Valid Architectures有效架构

The list of Valid Architectures constrains the possible values in the Architectures list.有效架构列表限制了架构列表中的可能值。

When building for debugging on a device, Xcode will only build for the architecture of the target device (which may be x86, for the simulator).在设备上为调试而构建时,Xcode 只会为目标设备的架构(对于模拟器而言可能是 x86)构建。 If the target device is a 32bit architecture, you'll get a 32-bit build.如果目标设备是 32 位架构,您将获得 32 位版本。

When building for some kind of release (ad-hoc or App Store), Xcode will build for all the architectures listed in the build setting's Architecture list.在为某种版本(即席或 App Store)构建时,Xcode 将为构建设置的架构列表中列出的所有架构进行构建。 The app binary, along with any dynamically-loaded frameworks will have a slice for each architecture.应用程序二进制文件以及任何动态加载的框架都将为每个架构提供一个切片。

在此处输入图片说明

To add on to what Avi said, I hope this picture will give you a better understanding of how OS are evolving.补充 Avi 所说的内容,我希望这张图片能让您更好地了解操作系统的发展方式。 The more right you go, the more the OS can handle information (it can handle more RAM) and some application require more RAM to run.你越正确,操作系统可以处理的信息越多(它可以处理更多的 RAM),并且某些应用程序需要更多的 RAM 才能运行。 I wish I could give you more specific information about this but I wouldn't want to say something wrong.我希望我能给你更多关于这方面的具体信息,但我不想说错话。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM