How does Dart (or Flutter) compile to iOS, Android, and other "native" code?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/ProgrammingLanguages

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • sdk

    The Dart SDK, including the VM, dart2js, core libraries, and more.

    Just walked this great talk by Kasper Lund on Dart2JS, and I see the dart2js compiler source code. Where is the source code for translating to Swift (for MacOS or iOS) or Kotlin (for Android) or C perhaps (for "native" like Linux perhaps)?

  • Flutter

    Flutter makes it easy and fast to build beautiful apps for mobile and beyond

    I see https://github.com/dart-native/dart_native, but it looks small and references flutter. Flutter's source code leads to ./packages/flutter_tools/lib/src/ios/mac.dart, but I'm not sure I'm seeing the compiler to generate what I would think would be Swift code.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • dart_native

    Write iOS&macOS&Android Code using Dart. This package liberates you from redundant glue code and low performance of Flutter Channel.

    I see https://github.com/dart-native/dart_native, but it looks small and references flutter. Flutter's source code leads to ./packages/flutter_tools/lib/src/ios/mac.dart, but I'm not sure I'm seeing the compiler to generate what I would think would be Swift code.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts