【问题标题】:How does dart compile ,when not used with Flutter?当不与 Flutter 一起使用时,dart 是如何编译的?
【发布时间】:2022-01-25 15:20:26
【问题描述】:

在 dart cli 应用程序中,dart 是否使用 dart VM?它是否通过构建可执行文件来 AOT 编译代码。

【问题讨论】:

    标签: flutter dart


    【解决方案1】:

    如果您通过 dart run 运行 cli,它将使用 Dart VM。如果你想要一个 AOT 二进制文件,你需要通过 dart compile 编译你的应用程序

    【讨论】:

    • 所以 dart compile 不会使用虚拟机?
    猜你喜欢
    • 2019-06-24
    • 2021-12-15
    • 1970-01-01
    • 2012-01-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-18
    • 2019-04-04
    相关资源
    最近更新 更多