After two years of development, Dart 2.0 has been officially released. The main change is that Dart now uses a sound static type system, just like Rust. This means the compiler will check applications for type safety, which leads to bugs being found (and hopefully fixed) earlier in the development process.
To showcase the improvements in Dart’s web platform, we built out a Dart-based client implementation for the HackerNews site as a Progressive Web App; this is published along with other sample implementations at the popular HNPWA site. Using best practices for building Dart web apps, we were able to ship a full-featured experience that is fully interactive in one second on modern devices and under five seconds on a modest mobile device on a slow 3G network. This is competitive even with lightweight web frameworks that are optimized for smaller apps.
- Dart (Medium)