Dart Programming Language
www.dart.dev
5
Leaving SiteNav
External Link Disclaimer
You are about to visit www.dart.dev. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Dart is a client-optimized programming language developed by Google, first appeared in 2011 and redesigned in 2013 under leads Lars Bak and Kasper Lund, designed for building fast applications across mobile, desktop, web, and server platforms with a focus on UI programming, serving as the primary language for the Flutter framework, with sound null safety, ahead-of-time compilation to native ARM and x64 code, just-in-time compilation for fast development cycles, and JavaScript compilation for web deployment, adopted by Google for products including Google Ads, Google Assistant, Stadia, and the Flutter framework used by over one million published applications. The sound null safety system, introduced in Dart two point twelve, distinguishes between nullable and non-nullable types at the compiler level, eliminating null pointer dereference errors that cause crashes in most other languages, with flow analysis automatically promoting nullable variables to non-nullable after null checks, and the sound type system ensuring that null safety is enforced across library boundaries for compile-time guarantees. The compilation strategy supports two modes, with just-in-time compilation enabling sub-second hot reload during development for instant feedback when code changes, and ahead-of-time compilation producing highly optimized machine code for production with startup times under two seconds and smooth sixty frames per second performance on mobile devices. The asynchronous programming model uses async, await, and Stream abstractions similar to JavaScript promises and Observables, with an event loop architecture, isolates for concurrent execution without shared memory, and the Future and Stream APIs providing composable asynchronous patterns. The package ecosystem through pub.dev hosts over forty thousand packages. The Flutter framework uses Dart for cross-platform UI development. Designed for mobile developers, Flutter developers, and cross-platform teams.
Statistics
5
Views
0
Clicks
0
Like
0
Dislike