What are the advantages of just-in-time compilation versus ahead-of-time compilation?

前端 未结 9 2234
挽巷
挽巷 2020-12-02 05:56

I\'ve been thinking about it lately, and it seems to me that most advantages given to JIT compilation should more or less be attributed to the intermediate

9条回答
  •  一生所求
    2020-12-02 06:24

    It seems that this idea has been implemented in Dart language:

    https://hackernoon.com/why-flutter-uses-dart-dd635a054ebf

    JIT compilation is used during development, using a compiler that is especially fast. Then, when an app is ready for release, it is compiled AOT. Consequently, with the help of advanced tooling and compilers, Dart can deliver the best of both worlds: extremely fast development cycles, and fast execution and startup times.

提交回复
热议问题