Skip to main content

Posts

Showing posts from February, 2015

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

An interview with the author of Mastering Dart

Dart is more than just a language. The Dart SDK contains a robust core library (with async classes, collections, reflection and more), HTML bindings, JavaScript interop, a server-side VM, and more. Dart is easy to learn, but when you're ready to "level up", it helps to have an expert guide you through its many features and capabilities. We sat down with author Sergey Akopkokhyants, author of Mastering Dart , to learn more about his book for advanced Dart topics and techniques. Q) On behalf of the Dart team, thanks for writing Mastering Dart! So, how did you discover Dart? Sergey: The first time I heard about Dart was in 2011. I watched a Google conference and found it very interesting how this new language helped in developing web applications in a very familiar fashion with OOP, types and generics. Information was scarce at the time, so I worked to collect it myself bit by bit. Late in 2012, Ray Cromwell introduced the idea of migrating from GWT to Dart. I thi

Irregexp, the Dart VM's new RegExp implementation

Crafting regular expressions, or regexps, is an art form . They are a powerful way to search through and pattern-match strings. To give our developers faster performance (up to 150X, compared to our previous implementation) and better semantics with their regular expressions, we're happy to announce that we've finished a port of V8's Irregexp engine to the Dart VM. Previously, some regular expressions had incorrect semantics , while others had sluggish performance when run in the Dart VM. These issues are resolved by the new implementation. The behavior of regular expressions are now consistent with dart2js compiled code executed on top of V8. We hope you enjoy these improvements to Dart's regular expressions. Look for the new regular expressions implementation starting with Dart 1.9, which is now in the developer channel . Posted by Jakob Gruber and Ian Zerny , Irregular Software Engineers