Atitit. Best practices for improving compatibility p825.doc

Source: Internet
Author: User

Atitit. best practices for improving compatibility p825 . doc

1 .  atitit. " One plus three " strategy

2 .  Extended Table Mode 2

3 .  Simultaneous run mode 2

3 . 1. Perfect for back compatibility 3

3 . 2. Virtual Machine Mode 3

3 .3.  version compatibility mode

4 .  forward compatible (

5 .  " forward compatible " concept 4

6 .  List of specially processed software 4

1. Atitit. compatibility of " one plus three " strategy

"By removing stale code to reduce compiler maintenance costs, JAVA9 Javac will no longer support Java 1.5 and earlier code. JDK9 's "One plus three" strategy means that this version of JAVAC will support options in 1.9/9, 1.8/8, 1.7/7, and 1.6/6. This policy will continue in JDK10. "

The headline is my interpretation of the news. Here's what I understand.
This means that many of the original designs of Java are not reasonable to be modified.
will bring many source-code-level incompatibilities.
some expressions, which may be false in early compilation, may become true later.
for example, string = =
also means integer i = new Integer (0), Integer j = new Integer (0);
I==j may also be true later on.

author ::  Old Wow's claws Attilax Ayron, Email:[email protected]

reprint Please indicate source: Http://blog.csdn.net/attilax

2. Extended Table Mode3. Simultaneous run mode

Web surfing, the most user of course is the browser, and windows built in ie browser but really let users use the uncomfortable, so call, in the domestic many dual-core browser will be big line. This   No, Microsoft also feel embarrassed, in windows 10 -spartan CORTANA  digital assistant's new browser has a desktop and mobile two versions, and a deep fusion of   BING  Search service to make the user's search experience more seamless.  

onenote features for user-friendly recording, tagging and sharing, support pdf file display, in addition to the reading mode and so on features there is a message that it will support chrome Extender. new browser Development code " Sparta "  

However, the news shows that the old and new browsers will co-exist initially, on the one hand, to avoid the sudden switch caused by the compatibility problem, on the other hand can give users more flexible choice, until Microsoft determined that the new browser enough to replace IE, will be completely converted to the past.

3.1. Perfect for back compatibility3.2. Virtual Machine Mode3.3. version compatibility Mode

4. forward compatible( sufficient room for upgrade)

5. " forward compatible " concept

So for the company has been in a monopoly position, to be in danger, but also to dare to own their own lives, to usher in more long-term success. For example, although the early Intel company occupies the monopoly position in the storage domain, but it sees the CPU market more long-term future, resolutely invests in the CPU research and development, only then has today's success. But the same Intel company, in the CPU side of the "forward-compatible" concept, so that the atom chip carries the shackles and dance, in the global embedded chip market, so that arm chip alone lead. Similarly, Microsoft's mobile operating system, with the burden of a compatible Windows operating style, makes Microsoft's mobile operating system far behind the iOS and Android systems designed for mobile devices. Google, on the contrary, is commendable, and it has not only successfully launched the Android operating system, but also in the field of robotics, smart cars, wearable devices and so on, on the basis of maintaining its advantage in the search field.

6. List of specially processed software

I first heard of such things from a popular game-simulation city developer. He said there was a deadly bugin the city of simulation: It was released Memorythen immediately re-use the memory. In a DOS Environment, this is not a good thing. However, under Windows , the memory released by a program is likely to be acquired and used by another program immediately, so this practice is absolutely disallowed. of the Windows development team TestThe people tested several popular applications and took care of them, but there was always a problem with the simulation city. They reflected the problem to the developer. The latter gives the simulation program a thorough study, finds out the root cause of the problem, and adds special code to check whether the simulated city is running, and if so, runs the memory manager into a special mode in which the program can use the freed memory.  

It's not a rare thing. Windows Test teams are huge, and their most important responsibility is to make sure that everyone is able to upgrade their operating systems smoothly, regardless of the applications they install, whether or not they use an unlisted legacy system interface or rely on problematic system resources. In fact, if you go to The Software compatibility section of the Windows registry, you will find a long list of software that is specifically processed. The new version of Windows will specifically simulate bugs in some of the older systems to make the software work.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Atitit. Best practices for improving compatibility p825.doc

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.