|Google Languages Update - Blockly, GWT & Dart|
|Written by Sue Gee|
|Wednesday, 02 November 2016|
Over the years Google has come up with a lot of languages that it has handed over to the open source community. There have been recent updates to three of them, Blockly, GWT and Dart, all of which occupy distinct niches.
As we reported in 2013, Blockly, was originated by Neil Fraser as an educational tool on a vacation trip to Vietnam. It has been extensively used in Hour of Code tutorials, including the one President Obama famously tried so the availability of Blockly for iOS and a major update to the Blockly Developer tools is timely in view of the forthcoming Hour of Code 2016 in Computer Science Education Week - December 5-11, 2016.
The post on the Google Developers blog from Champika Fernando, Product Manager, Kids Coding has the details:
At Google I/O, we announced our ongoing investment in Blockly with the release of a native Android version. We also highlighted significant improvements to the performance of web Blockly, which enables better rendering performance on mobile devices. Now iOS developers will have access to an open-source developer preview of Blockly for iOS that supports building better experiences on mobile, including multi-touch and enhanced animations as new experimental features.
Today’s release supports our ongoing efforts to enable developers to create consistent, high-quality, beginner programming experiences - as block-based programming interfaces can make coding more accessible by removing syntax errors and supporting “tinkerability.” We believe that coding is more than just a set of technical skills; coding is a valuable tool for everyone, empowering users from around the globe to imagine, invent, and explore.
With Blockly for iOS, developers can add Blockly views and fragments directly into their iOS app. This will offer tighter integration and improved performance compared to using a WebView. In this developer preview, blocks are currently optimized for tablets, but ready to customize for any app.
In addition, if you already use Blockly we're releasing a major update to the tools for creating custom blocks and configuring Blockly for your app, check out the new Blockly Developer Tools. The new tools allow you to edit and maintain a library of custom blocks, quickly configure toolboxes, and export and import files to local storage.
News of this release provoked comments such as "Wow, it's alive" but others pointed out that it is used by many products at Google including AdWords and Google Wallet. One positive comment reads:
You'll have to look long and hard to find anything that matches GWT when it comes to writing large, perhaps enterprise, applications that focus on longevity, maintainability and performance.
Last week saw the Dart Developer Summit in Munich, Germany with Google indicating its ongoing commitment to Dart, the language that it uses for AdSense and AdWords. The two products launched at the event were AngularDart 2.0 and Flutter.
AngularDart has been in production at Google since February and according to its developers:
over the past 4 months, AngularDart’s output has gotten 40% smaller, and our AngularDart web apps got 15% faster.
As well as launching AngularDart 2.0 final Google also released, in developer preview, the AngularDart components that it uses for its major web apps.
Flutter is different than other mobile SDKs. It's built with a best-in-class text rendering engine and the same 2D-to-GL library that Chrome (and others) use, which means its lowest layers are battle-hardened and proven. Flutter does not use the OEM widgets, instead it paints every pixel using its framework and graphics engine. This gives developers tremendous control and expressiveness across all of mobile. However, apps built with Flutter try to feel natural on iOS and Android; Flutter's framework embraces platform differences like scroll physics, iconography, fonts, and gestures.
A key benefit of using Flutter is its extremely fast development cycle, thanks to the Dart VM and Flutter's functional-reactive framework. For both iOS and Android, hardware and emulators, developers using Flutter can experience sub-second dev cycles as they add and debug app UIs. The app's state is maintained during the reloads, which means developers can iterate very quickly without restarting their app for every change. "We measure our dev cycles in milliseconds", said Eric Seidel, engineer on Flutter.
The new Flutter plugin for IntelliJ was also announced. Building on the existing strong support for Dart on the JetBrains platform, the Flutter plugin helps you run, debug, and hot reload on mobile devices and emulators from within a full IDE.
Despite our initial misgivings when Google started to open source its language projects, it certainly seems to have established a good relationship with the wider community allowing progress across a broad range of projects. GitHub and open source in general also benefits from the symbiosis as the 12,140 Googlers who are contributors don't necessarily confine themselves to Google originated projects but also to anything that sparks their interest.
GWT on GitHubtHub
or email your comment to: email@example.com
|Last Updated ( Wednesday, 02 November 2016 )|