TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dart can now produce self-contained, native executables

18 pointsby ceronmanover 5 years ago

2 comments

rvzover 5 years ago
This sounds like an absolutely magnificent milestone for Dart and a direct hit on developers who use SwiftUI or Electron.<p>Finally, a mature cross-platform desktop application framework with a DSL-like style for creating efficient, self-contained apps that work on Windows, Mac and Linux with the bonus of it working on iOS and Android. This truly changes everything in the desktop app development space.
isoosover 5 years ago
From the original article: <a href="https:&#x2F;&#x2F;medium.com&#x2F;dartlang&#x2F;dart2native-a76c815e6baf" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;dartlang&#x2F;dart2native-a76c815e6baf</a><p>&quot;the executables created with dart2native are self-contained, they can run on machines that don’t have the Dart SDK installed. And because they’re compiled with Dart’s AOT compiler, the executables start running in just a few milliseconds.&quot;<p>and some fun stuff: &quot;Using Dart core libraries, dart:ffi, and the dart_console library, we can create pretty interesting console apps. The dart_console package includes a full demo of kilo, a console text editor written in just ~500 lines of Dart code. The name kilo comes from its origin, kilo.c, which was a C implementation in roughly 1000 lines of code.&quot;