什么是社会公正的即时编译器和一个跨preTER之间的差异,以及是否有在.NET和Java JIT编译器之间的区别是什么?
解决方案即时编译是母语为非code的转换,例如字节code,到被执行之前它原生code。
维基百科:
JIT是建立在前面两个观点在运行时环境:字节code编译和动态编译。它执行它本身,例如字节code到本机code之前转换code运行时。
这是 执行程序间preTER。它可以或可以不具有抖动。
此外,从维基百科:
这是除preTER可能是一个程序, 无论是
执行源$ C $ C直接 在转换源$ C $ C到一些有效的中间再presentation (code)和立即执行此 在明确执行存储precompiled code由编译器制作 这是间preTER部分 系统两者的标准Java和.NET分布有JIT编译,但它不是必需的标准。 JIT编译器在.NET和C#当然是不同的,因为中间字节code是不同的。其原理是相同的,但。
What are the differences between a Just-in-Time-Compiler and an Interpreter, and are there differences between the .NET and the JAVA JIT compiler?
解决方案Just-in-time compilation is the conversion of non-native code, for example bytecode, into native code just before it is executed.
From Wikipedia:
JIT builds upon two earlier ideas in run-time environments: bytecode compilation and dynamic compilation. It converts code at runtime prior to executing it natively, for example bytecode into native machine code.
An interpreter executes a program. It may or may not have a jitter.
Again, from Wikipedia:
An interpreter may be a program that either
executes the source code directly translates source code into some efficient intermediate representation (code) and immediately executes this explicitly executes stored precompiled code made by a compiler which is part of the interpreter system
Both the standard Java and .NET distributions have JIT compilation, but it is not required by the standards. The JIT compiler in .NET and C# are of course different because the intermediate bytecode is different. The principle is the same though.
相关推荐
最新文章