Julia compiles the script every time?

前端 未结 2 1520
猫巷女王i
猫巷女王i 2020-12-02 13:11

Julia language compiles the script every time, can\'t we compile binaries with julia instead? I tried a small helloworld script with println function it took like 2,3 second

2条回答
  •  旧巷少年郎
    2020-12-02 13:36

    At the moment Julia JIT compiles its entire standard library on startup. We are aware of the situation and are currently working on caching the LLVM JIT output to remedy the situation, but until then, there's no way around it (except for using the REPL).

提交回复
热议问题