Why can the 35-year-old C ++ still dominate the programming world?

Source: Internet
Author: User

Why can the 35-year-old C ++ still dominate the programming world?

As early as 1979, Bjarne Stroustrup designed the C ++ programming language, and C ++ soon became a ubiquitous universal system programming language. Although Java, Javascript, Python, Go, and even Apple's Swift are competing with it, C ++ is still dominant in the programming world.

Today, at Morgan Stanley's technology interview, InfoWorld editors and Stroustrup chatted a lot about C ++ and other programming languages, including Google's Go language and Apple's Swift language. Below are our interview records.

InfoWorld:

What do you think about the future of C ++? Now there are many popular scripting languages, such as Python and Javascript, and of course there are also popular Java, and even Google's Go language. How can C ++ survive from so many programming languages, and grow?

Stroustrup:

This is a great question. In the past 20 years, people have been predicting that C ++ will perish, but we are glad that it has been growing and growing. If you enter the embedded field, if you want to do some complex image processing, if you need to implement some micro-electronics applications, if you want to develop some financial management systems, C ++ is your first choice. You may rarely see C ++, But at the bottom of those applications, C ++ is still the pillar of the entire application. For example, Google, Amazon, search engines, and other places that require high performance, C ++ has become an indispensable and important role.

InfoWorld:

Google's Go language is getting more and more attention. What do you think about the future of the Go language?

Stroustrup:

Of course, these programming languages can implement some functions very elegantly, but these programming languages focus on how to make code writing more convenient and elegant, but it loses a lot of performance. Of course, the contributions made by these programming languages are also obvious to all.

InfoWorld:

The purpose of some scripting languages is to free programmers from their hands. Will C ++ gradually become more inclined to this goal?

Stroustrup:

Oh, of course. C ++ is mainly designed for some applications with a fairly low-level Core. It is often used in combination with other scripting languages. At the beginning, I used C ++ to implement any application, and then I used shell on Unix as the script language to design some underlying applications. C ++ covers the following outstanding features: high performance, high scalability, low space occupation, and low resource occupation.

InfoWorld:

Apple released the Swift language in May June this year. Do you think that, thanks to Apple's support, Swift will attract more and more developers' attention?

Stroustrup:

I think yes. They followed Objective-C before, and Swift entered these developer fields this time.

InfoWorld:

C ++ faces two major challenges: on the one hand, to meet the needs of developers to implement high-performance, scalable, and reliable applications, and on the other hand, to help developers implement maintainable code. What do you think about these two questions?

Stroustrup:

I am going to explain these two problems. The first problem is to abstract and use hardware resources as efficiently as possible, while the latter needs to simplify the coding process as much as possible, from C ++ 11 to C ++ 14, we already have the same capacity.

This year we will release a new C ++ version, which is based on the C ++ 14 standard. When you are developing large products, C ++ 11 may not be able to meet your needs in some aspects, but when C ++ 14 occurs, the situation will change completely, C ++ keeps improving.

InfoWorld:

What do you think about program security? Do programmers need to pay attention to all security issues? Is C ++ safer than other programming languages?

Stroustrup:

I am very keen on solving hardware security issues. In terms of programming languages, if you want to write excellent programs, your code must ensure type security. You can implement this requirement in C ++. Do not always turn around some inefficient functions. In general, security issues are system problems.

InfoWorld:

Do you want to discuss any other questions about C ++ or software development?

Stroustrup:

Our goal is to make software development more professional. Many things in our society cannot be broken, and most of them require software. As developers, we need to take into account our systems as a whole. programming languages and development tools are only part of them. We need to explore how to train developers and how to focus on program reliability.

Http://www.codeceo.com/article/why-35-year-old-cpp-best.html.

Why the 35-year-old C ++ still dominates 'real' dev

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.