Joke Collection Website - Public benefit messages - Why is Apple opening the app so fast and Android so slow?
Why is Apple opening the app so fast and Android so slow?
2. Most Android applications are developed in Java language, compiled into "intermediate code" and run on Dalvik VM. When the program is running, it can only run by compiling "intermediate code" through virtual machine, which is inefficient and consumes a lot of hardware resources. Only a few applications that require performance, such as games, will use Android NDK for C/C++ development, but it is not a pure native program. IOS applications are developed in Object-C language and compiled into binary codes that can be run directly, all of which are native programs, with high running efficiency and low resource consumption. Anyone who has participated in the algorithm contest knows that Java's requirements in time and space will be twice as relaxed as C/C++, because Java programs are inefficient. At the same time, Android programs have more freedom to run in the background. Compared with the multitasking mechanism of iOS, Android multitasking consumes a little more hardware resources.
3. Apple has many years of experience in operating system research and development, and has adopted many optimizations and designs on iOS to achieve smooth operation, such as using GPU to draw interface, high-frame animation, high-priority interface rendering and touch response. Fluency does not mean speed. The running speed of iOS is actually not fast in many cases, just using high-frame transition animation, which makes you feel that this is a continuous process and there is no sense of discontinuity. So I feel that it runs very fast. In fact, the function machine runs very fast, but it lacks transition animation and does not give people that kind of coherent feeling. For example, to open a short message program with a large number of short messages, the function machine needs 1s, and iOS needs1.5s.. In theory, the function machine is fast, but the transition animation used in iOS makes people feel faster. In the early days of Android, it has been the positioning of Google's mobile advertising platform. Until the release of Android 4.0, it can be said that it is a mobile operating system supported by Google. Therefore, the Android version after Android 4.0 has been greatly improved in all aspects, and many features of Android that are very helpful to performance only appear in Android 3.0. The optimization of the bottom layer of Android system is relatively insufficient. For example, below Android 3.0, the GPU drawing interface can't be used, and even Android 4.x needs to open the "forced GPU rendering" global drawing interface, so the interface rendering framework is inefficient.
4. Smartphones are mostly used in various applications. The application ecological environment of Apple's iOS platform is much better than that of Google's Android platform, and there are many boutique applications. These high-quality applications, smooth operation, fast speed and good user experience are all attributed to the strict audit system and excellent profit model of Apple App Store. Google Play Store has also developed rapidly after the release of Android 4.0. However, the loose auditing system and the open environment of Android platform lead to rampant piracy. Developers, especially individual developers, are not enthusiastic and many applications are of poor quality. There are still many big companies whose products can't even meet the basic requirements of Android design. The quality of the product is only imaginable, which also seriously lowers the user experience level of Android.
- Related articles
- Paris officially announced that Gueye has joined (the team has added another powerful midfielder to its roster!)
- How to set the SMS background for iPhone 6?
- What is an electronic signature? What is an e-signature electronic signature?
- 165438+ Hefei1the latest news of 20 new cases of COVID-19 infection on October 22nd.
- New Year's Eve Poster Background-How to make Christmas Eve posters?
- Summary of notices on temporary closure of Qingdao temples to the public due to the epidemic in 2022
- Mobile phone card, how to check the number of short messages sent?
- What is the function of smart SMS? Is the price high?
- Activity Trajectory of 2 Cases with Positive Screening in Qin 'an County of Tianshui City (165438+122 October)
- Complete collection of new employee's mentor's opinions