• dartaotruntime

    dartaotruntime

    Use the dartaotruntime command to run AOT (ahead-of-time) compiled programs,called AOT snapshots.This tool is supported on Windows, macOS, and Linux.

    To produce AOT snapshots, use the dart2native command.

    Here’s an example of using dartaotruntimeto run an AOT snapshot named main.aot:

    1. $ dartaotruntime main.aot
    2. Hello from Dart.

    For information on command-line options, use the —help flag:

    1. $ dartaotruntime --help