dartaotruntime
With Dart, you can create pre-compiled Dart applications called AOT snapshots.
Create AOT snapshot app
#To produce AOT snapshots, use the aot-snapshot subcommand of the dart compile command.
Run AOT snapshot app
#To run AOT programs, use the dartaotruntime command. This tool supports Windows, macOS, and Linux.
Review an example
#Here's an example of creating and running an AOT snapshot:
$ dart compile aot-snapshot bin/myapp.dartGenerated: /Users/me/simpleapp/bin/myapp.aot$ dartaotruntime bin/simpleapp.aotLearn more options
#To learn more about command-line options, use the --help flag:
$ dartaotruntime --help