Skip to main content

Posts

Showing posts from November, 2014

Dart 1.8: library improvements and experimental support for enums

Would you like to try out Dart’s upcoming support for enums? In Dart Editor under Tools > Preferences > Experimental you can “Enable Enums Support” and start experimenting with code like:


With Dart 1.8, a number of library improvements have also landed. In dart:collection, SplayTree added toSet() method, and in dart:convert a JsonUtf8Encoder class was added. In dart:core, the following three things were added: New properties and constructors for RangeErrorA new IndexError class - used by the RangeError.index constructorOptional start and end arguments for the String.fromCharCodes constructor.In dart:io we added support for the ALPN extension of the TLS secure networking protocol for Client and Server. For a summary of these and others changes see the release notes. You can download Dart 1.8 from the Download Dart page. If you are running the Dart Editor, you can update by checking "About Dart Editor". Check out the Dart support page for information on getting help, fil…

Running Dart server applications on Google Cloud Platform

Today you can develop and deploy Dart server applications that run on the Google App Engine Managed VMs beta.The productivity of the Dart language and libraries are a great fit for server applications. You get the competitive performance of the Dart VM while leveraging powerful tools like Observatory–all while easily sharing code with your browser application.Now you can try Dart on Google App Engine, which lets you build and run applications on Google’s infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs change. With App Engine, there are no servers for you to maintain. You simply upload your application and it’s ready to go.Managed VMs extend App Engine to support user-defined custom runtimes. The Dart team is building on custom runtimes to allow you to easily develop and deploy Dart server applications that run on Google’s infrastructure.Once you have set up your local development environment, you can…