MonoTouch 的替代语言
MonoTouch 总是与 C# 一起提及。该框架和工具集实际上仅限于 C#,还是其他 CLR 语言(如 IronRuby 和 F#)也可以工作?
MonoTouch is always mentioned along with C#. Are the framework and toolset actually limited to C#, or do other CLR languages like IronRuby and F# work as well?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它不仅限于 C#,但运行其他语言有一些注意事项:
Delphi Prism 众所周知 - 他们的 MonoDevelop 插件甚至支持 MonoTouch。其他静态编译的 .NET 语言通常应该相当容易移植。
It's not limited to C#, but there are a few caveats to running other languages:
Delphi Prism is known to work - their MonoDevelop addin even has MonoTouch support. Other statically compiled .NET languages should generally be fairly easy to port.
Novell 在这一点上有点含糊,他们说:“MonoTouch 是 Mac OS X 的软件开发工具包,可让您使用 .NET 编程语言”。
看起来像 Hello-world 这样的简单 F# 程序正在运行,请参阅这篇文章: http://jamesmoorecode.blogspot.com/2009/09/f-running-on-iphone.html
而且因为 IronRuby 构建在 DLR 之上,而且 Novell 不支持 MonoTouch 的 DLR , IronRuby 不应该工作。
Novell is kinda vague on this point, they say: "MonoTouch is a software development kit for Mac OS X that lets you use .NET programming languages".
It seems that simple F# programs like Hello-world are working, see this post: http://jamesmoorecode.blogspot.com/2009/09/f-running-on-iphone.html
And because IronRuby is built on top of the DLR and since Novell do not support the DLR for MonoTouch, IronRuby should not work.