If your software is important, you will write it in C ++ (If your software matters, you will write it in C ++)

Source: Internet
Author: User

Chris Smith, author of programming F #, wrote an article in his blog to support C ++.Article.

Chris Smith once described the subtlety of F # In a long article at an academic conference. Don Syme, father of F #, appreciates his enthusiasm, but also reminds him that, "If your software is critical, you will write it in C ++. (If your software matters, you will write it in C ++ )"

C ++ is not the only correct language, but it has the features required by a truly important software. Even if a language X can increase the development efficiency by one hundred times, as long as it producesProgramExecution efficiency is low, so the user of the program will only notice the fact that the program runs slowly.

Conclusion: If your software is critical, you will write it in C ++.

Definition: Critical Software
-- Software used by hundreds of millions of people every day
-- Software that generates hundreds of millions of dollars each year

Theorem: important software must be optimized to the maximum extent.

Important software must be optimized to the maximum extent on the basis of ensuring speed, usability, and a set of available functions. Assuming that a major software has not been optimized to the maximum extent, there will be a better software objectively. Over time, more objective and better software will gradually occupy the market, software that has not been optimized to the maximum extent will no longer be "important" due to loss of customers and revenue ".

Proof:

1) Consider all the languages that require virtual machines and/or runtime environments (such as Java, C #, and Python ). While enjoying the benefits of memory management and runtime check, you will have to do additional work at an extra cost. For example, when starting a program, you must use JIT compiling or start the runtime environment. Given these extra costs, you will give up the language, otherwise you will violate the principle that "critical software must be optimized to the maximum extent. As long as you have the ability to reduce the startup time of the program or the amount of memory used by 10%, you will inevitably do so.

2) C and C ++ are the fastest known languages. (For IDE and other elements, ignore FORTRAN for the moment)

3) C and C ++ are the only languages that can be used to compile important software. However, any reasonable C program can be compiled using the C ++ compiler. (Similar to C language standards, what is reasonable does not need to be defined)

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.