{"id":2758,"date":"2011-10-20T03:35:06","date_gmt":"2011-10-20T07:35:06","guid":{"rendered":"https:\/\/webhostinggeeks.com\/blog\/?p=2758"},"modified":"2021-10-19T06:48:32","modified_gmt":"2021-10-19T10:48:32","slug":"google-dart-new-language-arrives","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/blog\/google-dart-new-language-arrives\/","title":{"rendered":"Google Dart \u2013 Ready or not, a new Language Arrives"},"content":{"rendered":"<p>When the king of search engines speaks, the tech world listens.\u00a0 When it announces that it&#8217;s going to start speaking in a new language, though, the tech world gets a little concerned.<\/p>\n<p>Such is the story of <a href=\"https:\/\/www.infoworld.com\/article\/2620801\/google-dart-hits-a-bull-s-eye-for-web-developers.html\" target=\"_blank\" rel=\"noopener\">Google Dart<\/a>.\u00a0 Early information about the new programming language was leaked a month ago.\u00a0 What raised concerns in the IT world, though, was an internal memo stating that Google had the long term goal of using Dart to replace <a href=\"https:\/\/en.wikipedia.org\/wiki\/JavaScript\" target=\"_blank\" rel=\"noopener\">Javascript<\/a>.\u00a0 To a programmer, that&#8217;s not too far removed from hearing that someone has the long-term goal of replacing English.<\/p>\n<p>Google stepped back a bit and stated that there&#8217;s no reason that Javascript has to be headed to the trash bin.\u00a0 In all fairness, what was posted was likely just optimism about its acceptance as opposed to antagonism against Javascript or anything else.\u00a0 Given the programming world&#8217;s reaction, that&#8217;s a good thing.\u00a0 Not only is Javascript largely considered to be thriving, but some feel that it is more relevant than ever.<\/p>\n<p><strong>The only constant is change<\/strong><\/p>\n<p>Nevertheless, Google has stated that there are problems with Javascript that are too ingrained in its design to be fixed from within.\u00a0 Given its age (it was introduced when Bill Clinton was in his first term), it&#8217;s reasonable to suppose that a lot about it might not be keeping up with the times, especially given the recent explosion of portable viewing platforms.<\/p>\n<p>Moreover, Google is now about as famous for its alternate services like Google Earth as it is for its search engine.\u00a0 Even a modest increase in efficiency in the programming back-ends used by these services alone would have a multiplier effect that&#8217;s hard to even calculate.\u00a0 For the rest of the web, Google is helping the transition by releasing a compiler that will translate Dart code into Javascript for any browser or application that is not yet capable of running it.<\/p>\n<p><strong>What are the goals of Dart?<\/strong><\/p>\n<p>On their technical specifications sheet, Google outlines the following objectives for the Dart programming language:<\/p>\n<ul>\n<li>Create a programming language that is structured, yet flexible.<\/li>\n<li>Give Dart a \u201cfamiliar and natural\u201d feel.\u00a0 Some have already noted its similarity to Javascript.<\/li>\n<li>Make Dart appropriate for the full range of web-capable devices.\u00a0 This might be one of the items that pushed the need for a new language over the tipping point.<\/li>\n<li>Create a language that launches quickly and efficiently.\u00a0 This is more important than it seems: as standards and devices continue to splinter, efficiency in compatibility is going to become a high priority.<\/li>\n<li>Make sure there is a language that can work across all browsers.\u00a0 This can be considered a sister idea to that of ensuring multiple device compatibility.\u00a0 The number of browsers right now is higher than it has ever been, and shows no sign of stopping.\u00a0 Look at Amazon&#8217;s inclusion of a new browser in the Kindle Fire, as an example.<\/li>\n<\/ul>\n<p>Also listed in this document are the specific programming problems Dart attempts to address.\u00a0 Paraphrased here, they are:<\/p>\n<ul>\n<li>Dart will attempt to address the problem whereby small programs swell into larger ones that cannot easily be broken back up into smaller components.<\/li>\n<li>Dart will attempt to address the conflict between static and dynamic languages (though this sheet doesn&#8217;t make clear what exactly their remedy is).<\/li>\n<li>Dart will attempt to address the problem whereby few languages right now are designed to work well both with client and server specifications.<\/li>\n<li>Dart will attempt to make it easier for programmers to take over each other&#8217;s work, by addressing the problem in which interactions with different parts of an application are put more into the code comments than in the code itself.<\/li>\n<li>Dart will attempt to reduce the cumbersome work associated with context switching.<\/li>\n<\/ul>\n<p><strong>OK, those seem like good ideas.\u00a0 What does the audience have to say?<\/strong><\/p>\n<p>From our surveying, the biggest problem that the IT world has with this new programming language is its mere existence.\u00a0 The fact that Google has done work to make sure it can be plugged in as many places as possible right from the start doesn&#8217;t seem to have mollified them.\u00a0 This is one more language to learn, and who knows whether or not the time invested in it will be well spent.<\/p>\n<p>The next biggest concern after that was with Google&#8217;s approach to its development.\u00a0 Working with the greater community in developing standards is at this point considered both wise and honorable.\u00a0 Google says that it is going to, but the initial development sketches and basic coding structures were authored in-house, outside the view of third-party eyes.\u00a0 Google defended this position, stating that it was necessary to make sure that initial plans didn&#8217;t spin too far out into chaos.<\/p>\n<p><strong>A worrisome feelin<\/strong><\/p>\n<p>This doesn&#8217;t dull the feeling that some are getting that Google is becoming another Microsoft, creating \u201cstandards\u201d that it single-handedly pushes onto the world.\u00a0 Given that Google is about as big as Microsoft, it&#8217;s hard to see this worry as unwarranted.<\/p>\n<p>Is it fair, though?\u00a0 That&#8217;s a more difficult case to make.\u00a0 As much as Google has done some things that have not sat well with the internet world, the general consensus is that it has never strayed too far from its \u201cDon&#8217;t be evil\u201d motto.\u00a0 Recall recently, for example, their decision to pull out of China in protest over that government&#8217;s information control requirements.<\/p>\n<p><strong>Our verdict: Worth a look<\/strong><\/p>\n<p>The bottom line is that, like it or not, Google now maintains a position in which, if they determine that something needs to be changed on the web, and they put the effort into doing it, it&#8217;s a good bet that they&#8217;ll succeed.\u00a0 Gmail replaced Hotmail, <a href=\"https:\/\/www.google.com\/maps\" target=\"_blank\" rel=\"noopener\">Google Maps<\/a> replaced Mapquest, Chrome is replacing Mozilla, and <a href=\"https:\/\/accounts.google.com\/ServiceLogin?service=oz&amp;passive=1209600&amp;continue=https:\/\/plus.google.com\/?gpsrc%3Dgplp0\" target=\"_blank\" rel=\"noopener\">Google+<\/a> is making a serious bid to replace the mighty <a href=\"https:\/\/www.facebook.com\/\" target=\"_blank\" rel=\"noopener\">Facebook<\/a>.<\/p>\n<p>Let&#8217;s also remember that no one has actually worked with this language yet.\u00a0 The devil is in the details.\u00a0 It may be that when all is said and done, Dart becomes as beloved as, say, Perl.\u00a0 One thing is for certain, though, and that is that Google is putting a lot of energy into Dart&#8217;s development and release.\u00a0 If they say that Dart has the potential to replace Javascript, it&#8217;s ill-advised to not consider that they might be right.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When the king of search engines speaks, the tech world listens.\u00a0 When it announces that it&#8217;s going to start speaking in a new language, though, the tech world gets a&#8230;<\/p>\n","protected":false},"author":3,"featured_media":2762,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2776],"tags":[130],"class_list":["post-2758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webdesign","tag-google"],"views":80,"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/posts\/2758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/comments?post=2758"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/posts\/2758\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/media\/2762"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/media?parent=2758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/categories?post=2758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/blog\/wp-json\/wp\/v2\/tags?post=2758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}