Will JavaScript be replaced by other languages?

Source: Internet
Author: User

  

Can you replace the problem with how much impact developers can have? First of all, eliminate the go, this thing is to do the service side, positioning is also system programming. Basically say Dart:

The key to the language of Dart is actually two: 1. similarity; 2.dart2js.

Similarity:

Google this dart you will find that if there is a java,c#,javascript background of developers, then the language is almost 0 learning burden, directly to use, to do projects. There are a lot of good features that you are very familiar with, syntax difficulty (currently) between Java and C #, optional type of dynamic language, make up for dynamic language tooling, static analysis of the short board (although this optional type is controversial, especially from the point of view of the design language).

DART2JS:

The Dart VM will be built into chrome in the future, but other browsers may not support it, so dart2js is important so that the program written by Dart can be executed on all browsers, and the problem of performance and volume, and so on, becomes part of the compiler optimization, a purely technical problem, There is no insurmountable obstacle (such as allowing other browsers to accept the non-technical barrier of the Dart VM, which is difficult to overcome) and only takes time to refine. Ultimately somewhat similar to the high efficiency of compilation and compiler-generated compilations.

With grammatical high similarity and DART2JS, dart failure and success are not so important, because Google's ultimate goal is not to make sure that everyone has to use its language, but to make the web evolve faster. Or there's a better javascript than it is now, and that's what it wants most, something like its high-speed fiber, and so on, which makes you more reliant on the web, because the Web is a key entry point for its profitability.

Is there a message inside Google that explains why you want to do this language? They have 2 sets of programs that will continue to do so in parallel:

The 1.V8 team continues to optimize the JS engine and participate in the evolutionary JavaScript language;

2. Invent a new language (DART) that will eventually replace JS.

Scenario 1 The risk is small but progress is too slow it can't wait, scenario 2 is risky but rewarding. In the end they decided to execute two sets of programs simultaneously.

Dart's developers are mostly v8,chromium teams, and many of the new things in dart are associated with V8, and some of the new features of Dart may be ECMAScript accepted as a new standard for future JS. So the end is nothing more than two results: or Dart failed, but dart in a lot of good things are JS absorbed, JS a brand-new, or dart success, instead of the JS. Either way, the web's evolutionary process has been speeded up, which is Google's real purpose (a bit like it does Android but doesn't make money directly from the system itself).

Therefore, this language in the design of "maintain similarity" and "Dart2js" is a key two aspects. So do you think it can replace the JS to your influence? And there's nothing you've learned for a long time. The next day found no use in this situation, so it should be used with JS continue to use, want to try Dart's also don't worry about other browsers can not run, do not have to worry about starting from scratch to learn a new language burden, Because most of it is something you've already mastered.

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.