Comments on Google's new programming language Dart

Source: Internet
Author: User

Lars Bak, the leader of the Google Dart language program, announced the launch of the programming language Dart at a Goto Conference held in Denmark on April 9, October 10. Lars Bak said that Dart is a "structured Web programming" language that provides high performance in all modern browsers and environments.

Structured Web Programming Language

Dart code can be executed in two different ways: One is through a native virtual machine; the other is the JavaScript engine, which uses the compiler to convert Dart code to JavaScript code. That is to say, you can use Dart to compile and run a Web application on any modern browser. Although Dart VM has not yet been integrated into Chrome, it is under research plan.

Google wants to replace JavaScript with Dart

Google said the new language will help developers create a structured and flexible Web programming language, making Dart a familiar and natural language for programmers and easy to learn, google has provided its language and development tools on the open-source software library dartlang.org. It will introduce in detail how this platform fits a person's small team into large projects, code executed through a local virtual machine or on a JavaScript Engine. The JavaScript engine can translate Dart code into JavaScript. Extended: What is Google's intention to use Dart to replace JavaScript?

Dart design goals:

◆ Create a structured and flexible Web programming language.

◆ Dart should be familiar and natural to programmers and be easy to learn.

◆ Ensure high performance in all existing browsers and environments (from small handheld devices and even servers.

Dart considers a series of development scenarios: from personal projects without too many architectures to large projects that need to be formally added to the Code to demonstrate the programmer's intent. To support a wide range of large projects, Dart provides many optional types, so you can add them when needed without considering the types.

Is it possible for Google to launch the programming language Dart to create a Bright Sky in this age of competition? Let's take a look at your comments on it.

Blog by Google Engineer Bracha:

First, he expressed dissatisfaction with Javascript, and then proposed that the Internet needs to continue to evolve. In addition, he needs to be able to utilize the performance of multiple core processors. He also said: Javascript is still a language with severe restrictions on platform deployment.

Someone commented on Reddit:

I don't understand why people have to follow Google to help them replace existing technologies with their own technologies. They always promise that "we must try new standards", but their own technology has not become the same as so far:

Google does not like MPEG, so vp8. But at the beginning, they didn't make any effort to build it into a true open standard.

Google does not like HTTP, so SPDY is launched. However, there is only support for Chrome and Google Web applications, and there is no indication that it will become a standard organization. Can you imagine that Microsoft's IE has built a set of HTTP standards and then only communicates with Microsoft's own IIS service?

Google does not like the NPAPI plug-in models of all non-ie browsers, so it launched a completely incompatible plug-in API and Native Client for Native code.

Google does not like JPG and PNG, so it launched the WebP format.

Now Google does not like Javascript again, so it launched Dart.

It is estimated that Google will not like CSS or even HTML.

ITeye community expert:

Web technologies are changing with each passing day. HTML5/CSS3 is a brand new spring, but JavaScript has not changed much in recent 20 years. If Dart is really an artifact and has an application scenario that is difficult to match with JavaScript, then the Web may be accelerated again, and a new era may be accelerated.

But what is Dart? Google is also too mysterious. From the current network information point of view, no valuable information is disclosed. I expect Dart to provide a fully interactive and incremental development model in Web development just like Smalltalk. I think the improvement in development efficiency will be unparalleled. On the contrary, from the perspective of language, I cannot think of any revolutionary breakthrough.

CSDN technical expert:

JavaScript Engines that have emerged in recent years, such as TraceMonkey, Google V8, And the Chakra engine used by Microsoft in IE 9, whose graphic rendering and underlying API calling capabilities have reached the peak, the improvement of the browser's efficiency is close to the limit of performance optimization, and there is no space for improvement in efficiency. Now we can say that the performance of the JavaScript language is fast enough and has reached the root point. If you want to improve efficiency again, you must use traditional Java, C #, the speed of running C ++ and JavaScript dynamic languages cannot meet the mainstream Web in the future. It seems that Google has come up early, this is contrary to Google's dominance of the Web. Therefore, it is wise to refer to "new Web Programming Language Dart" as early as possible.

Weibo user PPTV Song Yu:

Google officially released the Dart language, which seems to be a substitute for JavaScript. Check out the following code: the whole is a Java framework, and the MINI version of JAVA is mixed in C ++. Very optimistic about this language. There are almost no obstacles. Generally, java programmers can get started with development without having to spend an hour looking at the syntax.

Weibo user Eleven_vv comment:

When Google launched the Go language, it also thought that Go could be applied to other fields outside the server software, including executing software in the browser, replacing the current JavaScript role. However, Google's goal of becoming a Web innovator is self-evident in its efforts to push HTML5, repeatedly released Go, And Dart.

CSDN bloggers:

After a brief look at the instructions on the official website, I felt that Dart was a combination of Java and javascript, and then watched his core library, it has brought a lot of surprises to myself. It encapsulates powerful collections and data structures such as Queue Collection, and classes with matching expressions such as match. In short, is a powerful tool for developing Web programs.

Conclusion:

Google Dart is designed to replace JavaScript. JavaScript does have technical issues that cannot be fixed, so it needs to be replaced by a well-developed language. However, Google's unilateral and non-negotiation methods indicate that Dart must be under some suspicion. It is inevitable to persuade application developers to embrace the challenges of Dart.

If Dart is really like an interpreted Smalltalk language, it will almost directly compete with JavaScript and Python. If the "Go" language is used as a metric, Dart is more like a novelty than a ground-breaking tool. It may only aim to solve the "Google-centric" problem, rather than becoming a popular programming language. At present, people still do not know its positioning. Let's wait and see.

Original article: http://sd.csdn.net/a/20111012/305664.html

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.