Li Hongqiang The nature and simple execution of iOS-developed applications

Source: Internet
Author: User

Li Hongqiang The nature and simple execution of IOS-developed applications

What do you call a program ?

is an execution order.

Two states of the program : Save state ( saved to hard disk ) running state ( performed by CPU )

Can the code be executed?

The CPU (the central processing Unit , where the computer calculates and data is processed ) reads the data from the file ,

Decode , and then show

Data needs to be stored in memory ( memory bar )

Register : A storage device that is bound to the CPU , and the same rate as the CPU of the storage device

CPU- 1.9GHZ- 1.9G instruction per second

Register is the equivalent of a CPU ( factory ) belt

Memory ( equivalent to warehouse )

Application on your hard disk , double-click the application . The operating system knows that you double-clicked the application ,

Loads the application from memory, loads it into memory, and then loads it into the Register , executing the

The so-called application is actually a piece of instructions

Executing the application is executing these instructions sequentially

Import the instruction 1.1 point from the hard disk into the CPU

A few caches are designed to relieve the pressure on the register.

Reduction of speed at the first level , expansion of memory at the primary level

Li Hongqiang The nature and simple execution of iOS-developed applications

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.