TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dart can now produce self-contained, native executables

18 点作者 ceronman超过 5 年前

2 条评论

rvz超过 5 年前
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.
isoos超过 5 年前
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;