What happens when we run the julia-lang script?

In my understanding, julia is a script language with a JIT compiler. But in java you can find files *.class; In python you can find files *.pyc. This means that java and python must first convert their language to bytecode, and then use VM to run that bytecode. However, I cannot find bytecode files for julia like *.jlc. Any ideas?

+4
source share
2 answers

Actually, there is functionality for resetting LLVM bit code in Julia:

See jl_dump_bitcode.

Thanks to Isiah for pointing code_llvmout to read the bitcode in the interpreter.

, julia_trampoline build_path. .

JIT- , NodeJS (V8), - LLVM.

+3

Source: https://habr.com/ru/post/1528190/


All Articles