talira

An approachable, portable, and productive language for high-quality apps on any platform

open sourceBSD-3-Clausefree

Dart is a type-safe, object-oriented language from Google with sound null safety, best known as the language of the Flutter UI toolkit. The Dart VM runs code with a just-in-time compiler for fast development cycles and hot reload, its ahead-of-time compiler produces native ARM, x64 and RISC-V machine code for mobile, desktop and server apps, and its web compilers translate Dart to JavaScript or WebAssembly. Memory is managed by a generational garbage collector, and concurrency uses async/await and isolates. The SDK includes the dart command-line tool (format, analyze, test, compile) and the pub package manager for packages on pub.dev. A new stable release ships about every three months; BSD-3-Clause licensed.

Libraries for Dart and Flutter

View 18 more

Browse all of them: 24 libraries, 6 frameworks, 29 APIs.

Problems it solves

  • which language should I learn to build one app for iOS, Android, web and desktop
  • hot reload my app's UI while I code instead of rebuilding every time
  • a typed language that catches null errors at compile time and still feels like JavaScript or Java
  • compile my command-line tool to a native executable that starts instantly
  • share code between my mobile app and its backend in one language
  • compile the same code to JavaScript or WebAssembly for the browser

Features

  • sound null safety
  • static type checking with type inference
  • JIT compilation with hot reload during development
  • AOT compilation to native machine code
  • compiles to JavaScript and WebAssembly
  • async/await and isolates for concurrency
  • mixin-based inheritance
  • dart CLI with format, analyze, test and compile

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Dart does.

  1. Kotlin Concise. Multiplatform. Fun.
  2. Crystal A language for humans and computers
  3. F# F# empowers everyone to write succinct, robust and performant code
  4. Gleam A friendly language for building type-safe systems that scale
  5. Swift A general-purpose programming language that's approachable for newcomers and powerful for experts
  6. TypeScript JavaScript with static types, compiled to plain JavaScript

Compare Dart with the top 3