What is Google Dart?
By: Emiley J in Trends Tutorials on 2011-12-27
Google Dart is a new web programming scripting language launched by Google. Why is there a need for another web programming language? Well, Google's answer to this one is that JavaScript is suited for smaller web applications. When the application gets bigger and more complex, then Javascript may not be the best suited language. So for more complex web applications google dart is the better choice.
Google has tried to make the syntax of Dart very similar to Javascript. Anyone who is familiar with Java or C# should be very comfortable with Dart and can start programming in Dart in a day. Another important feature of Dart is its ability to run either on the client or on the server. This is in contrast to javascript which can only run on the client. Since dart can run on either client or server, based on the target platform, the developer can choose where the code should run. If for example, the application is targeted for desktops then the code can run on the client. But if the target platform is a mobile then the developer can choose to run the code on the server to make it faster and improve performance.
Another thing to note is to improve startup time of the application, dart uses a DVM (Dart Virtual Machine) developed for the language which will run the dart code scripts. Dart code can be compiled to JavaScript which makes it possible to run on any available browsers. So with the Dart code, you can run it on DVM or compilt it to Javascript to run it on any browsers without the DVM.
Dart may or may not replace JavaScript. Web programmers will continue to use JavaScript for ease of use. However, for larger applications, it maybe a good idea to develop using Dart. So both JavaScript and dart will co-exist in the near future. Only time will tell if dart is capable of totally replacing Javascript.
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
- Data Science
- Android
- React Native
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Using OBS Studio to record tutorial videos for YouTube
Will C and C++ be replaced by newer languages?
React vs Angular - How to choose?
What is Groovy? Getting Started with Groovy - A tutorial
Introduction to Amazon Web Services
Browser Based Communications - WebRTC
Will Apple open retail showrooms in India?
Comments