p*******p 发帖数: 13670 | |
f********h 发帖数: 149 | 2 check out pnet , mono
【在 p*******p 的大作中提到】 : 哪里下载呢? 谢谢了,大侠给个link吧
|
p*******p 发帖数: 13670 | 3 刚刚意识到frame sdk里面自带了csc解释器地, //blush
【在 f********h 的大作中提到】 : check out pnet , mono
|
a**y 发帖数: 335 | 4 嗯..., 他说的csc应该是编译器吧,把C#编译成
Intermediate Language.
解释器在.NET里是不是应该叫做Common Language Runtime?
就是用来Just In Time 编译 IL成机器代码的
所以严格来说,.NET并没有解释器.
|
L*******r 发帖数: 1011 | 5 精华区-〉常见问题-〉运行平台
【在 f********h 的大作中提到】 : check out pnet , mono
|
L*******r 发帖数: 1011 | 6 interpreter.
run the code step by step. the code could be byte code, could be source. |
L*******r 发帖数: 1011 | 7 csc is compiler.
hmm, some class in CLR can named as interpreter.
interprete IL code.
【在 a**y 的大作中提到】 : 嗯..., 他说的csc应该是编译器吧,把C#编译成 : Intermediate Language. : 解释器在.NET里是不是应该叫做Common Language Runtime? : 就是用来Just In Time 编译 IL成机器代码的 : 所以严格来说,.NET并没有解释器. :
|
a**y 发帖数: 335 | 8 JIT 和 interpreter 应该还是不一样的,至少MS是这样说的。
在JIT里, 每个Method都只被compile一遍,然后就存在memory cache里
interpreter每次用到一个method都会被重新解释一遍, well, 那是
我的理解. 也许优化过的interpreter也差不多.
【在 L*******r 的大作中提到】 : csc is compiler. : hmm, some class in CLR can named as interpreter. : interprete IL code.
|
L*******r 发帖数: 1011 | 9 en. MS 的JIT是ahead compile. JIT还是compiler. compile to native code.
我可能弄错了,我记得Framework中有个源码级的解释器,有点像lisp的eval.
【在 a**y 的大作中提到】 : JIT 和 interpreter 应该还是不一样的,至少MS是这样说的。 : 在JIT里, 每个Method都只被compile一遍,然后就存在memory cache里 : interpreter每次用到一个method都会被重新解释一遍, well, 那是 : 我的理解. 也许优化过的interpreter也差不多.
|
L*******r 发帖数: 1011 | 10 en. It is in mono, called mint.
【在 L*******r 的大作中提到】 : en. MS 的JIT是ahead compile. JIT还是compiler. compile to native code. : 我可能弄错了,我记得Framework中有个源码级的解释器,有点像lisp的eval.
|