如果您没有可以生成代码来利用底层处理器架构和指令集的编译器,那么最快的机器也将是无用的。
If you don't have a compiler that can produce code to take advantage of the underlying processor architecture and instruction set, then the fastest machines will be useless.
早期的程序设计利用机器代码指令在裸机层次上完成。
Early programming was done at the bare machine level, using machine code instructions.
JIT通过将代码编译成机器码,这样可以减少翻译Python指令的时间,以此提高代码的执行速度。 “在CPython里,” Winter 解释道,“这一部分的开销很大;在这方面只做了较小的调整就使CPython 2.7有了近15%速度提升。”
Using a JIT will speed up execution by compiling to machine code, thus eliminating the overhead of fetching, decoding, and dispatching Python opcodes.
应用推荐