有没有最小的 CLI 运行时的指针?
我正在寻找可能的最小 CLI 子集实现。
现在,即使是口译员也可以,但我真的正在寻找一个 JIT 运行时。 我什至不需要标准运行时的任何东西 除了 System.Object 和 Enum 等核心类之外,它还需要 可移植且对底层系统的依赖最少。
我考虑过单声道,它相当重。 将单声道缩减至 我的要求是一项艰巨的任务。 我想知道是否已经完成了。 我目前正在研究 pnet,其中包括一个“小型”构建。
I'm looking for smallest CLI subset implementation possible.
For now, even an interpreter will do, but I am really looking for a
JITted runtime. I do not even need anything from the standard runtime
apart from core classes like System.Object and Enum etc. It also needs
to be portable and least dependent on underlying system.
I have considered mono and it is quite heavy. Cutting down mono down to
my requirements is a huge task. I wonder if it has been done already.
I'm currently looking at pnet, which includes a 'tiny' build.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
不确定它是否有您正在寻找的东西,但微软最近开源了 .Net Micro 框架,也许值得一瞧。
Not sure if it has what you are looking for but Microsoft recently open sourced the .Net Micro Framework, might be worth a look.
.NET Micro Framework 是一个 IL 解释器,并且非常小。 然而,它的功能并不齐全——您没有泛型,并且属性之类的某些东西的工作方式不同(没有 PropertyInfo)。
其他:
The .NET Micro Framework is an IL interpreter, and is very small. It is not, however, fully featured - you don't get generics, and some things like properties work differently (there is no PropertyInfo).
Others:
使用 mkbundle 查看 Mono 链接器。 它的想法是,它只会链接您需要的 Mono 部分,仅此而已。
Take a look at the Mono Linker with mkbundle. The idea of it is that it will only link the pieces of Mono that you need, and no more.
尝试 Silverlight,尽管它有点“浏览器内”。
Try Silverlight, though it's somewhat "in-browser".
您的构建脚本可能是 PITA - 但 CrossNet 可能是个好主意。 它将 MSIL 编译为 C++。
所以你可能根本没有 CLR :)。
Your build script may turn out to be a PITA - but CrossNet might be a good idea. It compiles MSIL into C++.
So you could land up with no CLR at all :).