有没有供应商在硬件上提供 MSIL / CLR?
我有一组 MSIL / CLR 应用程序(用 C# 编写)。 我正在寻找一种将它们刻录到纯硬件平台上的方法。 我看到 Altera 有一款名为 NIOS II 的嵌入式处理器,它似乎支持 eCLR(嵌入式公共语言运行时),但它只是一个处理器,而不是我认为的终端市场产品。
谁能推荐一款可以集成到可运行 MSIL / CLR 应用程序的商品硬件(具有 PCI 和 PCI-E 接口的标准 1-4u 机架安装系统)中的终端市场产品。 如果没有什么同样有帮助的话。
I have a set of MSIL / CLR applications (written in C#). I am looking for a way to burn them onto a pure hardware platform. I've seen that Altera has an embedded processor called NIOS II that appears to support eCLR (embedded common language runtime), but it's just a processor and not something I would consider end market product.
Can anyone recommend an end-market product that can be incorporated into commodity hardware (standard 1-4u rack mounted systems with PCI and PCI-E interfaces) that can run MSIL / CLR applications. If there's nothing thats equally helpful to know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Mono 工具集包括静态编译器,它将字节码编译为机器语言。 它被用来将 C# 代码移植到 iPhone 和 Xbox,正是因为这些平台不支持 JIT(主要是出于安全原因)。
也许这可以打开你的选择。
the Mono toolset include static compiler, which compiles your bytecode down to machine language. It's being used to port C# code to iPhone and Xbox, precisely because those platforms don't support JITs (mainly for security reasons).
maybe this could open your options.
我只找到了一种符合我的问题标准的解决方案。 KW-Software 提供了一个名为 ProConOS 的解决方案,该解决方案在 Altera NIOS II 上运行。 通过此解决方案,您可以编写可在硬件上执行的 MSIL 代码(C#、C++、VB)。 我确实喜欢该解决方案的一个方面是它进行提前编译(目标架构的有效静态编译)而不是 JIT。
I found only one solution that fit the criteria of my question. KW-Software provides a solution called ProConOS which runs on the Altera NIOS II. With this solution, you can write MSIL code (C#, C++, VB) which can be executed on hardware. One facet that I do like about the solution is that it does ahead of time compilation (effectively static compilation for the target architecture) rather than JIT.
我个人并不了解市场上的硬件实现,我看过几篇关于此类系统可行性的学术论文。 我怀疑它真的会像 ARM 芯片上的 Jazelle Java 加速几乎从未使用过一样“工作”。 它需要一个硬件架构以及一个与 CLR 兼容的软件堆栈,这意味着与 Microsoft 合作。 Jazelle也有类似的问题,没有一个好的VM支持它,至少Java开源了还有希望。 我很想知道 Altera 是否真的拥有完整的堆栈,或者他们是否只是像 Jazelle 人那样宣传加速。 我当然建议您深入研究它。
你考虑过单声道吗? 您应该能够在嵌入式计算机(单板计算机或 mini-itx 嵌入式计算机)上使用轻量级 linux 安装 + mono,并获得与我认为您正在寻找的类似的东西。
I don't personally know of a hardware implementation on the market, i've seen a couple academic paper's on the feasibility of such a system. I doubt it will really "work" much the same way as Jazelle Java acceleration on ARM chips is hardly ever used. It would require a hardware architecture as well as a software stack compatible with CLR, meaning getting in bed with Microsoft. Jazelle has a similar problem, there isn't a good VM with support for it, at least with Java being open sourced there is hope. I'd be interested in knowing is Altera actually have a full stack or if they are just advertising acceleration the same way the Jazelle folks do. Its certainly something that I recommend you dig into.
Have you considered mono? You should be able to use a light weight linux install + mono on an embedded computer (Single Board Computer or a mini-itx embedded computer) and get something similar to what i think your looking for.
是的,运行 Windows 的机架式 PC 服务器! 您的成本和性能预算是多少?
Yea, a rackmount PC server running Windows! What's your cost and performance budget?
事实上,我几乎可以肯定今天没有任何处理器可以做到这一点。
但也许您只是在寻找带有 .NET Framework 的硬件平台
在这种情况下,您应该查看以下选项:
In fact I am almost pretty sure that today there isn't any processor doing that.
But maybe you are just looking for an hardware platform with the .NET Framework
In that case you should have a look to these options: