IronRuby on Rails 入门
有人可以给我指点教程和/或入门文档来让 IronRuby 运行 Rails 吗? 我对详细的分步参考特别感兴趣,而不是一般指南。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有人可以给我指点教程和/或入门文档来让 IronRuby 运行 Rails 吗? 我对详细的分步参考特别感兴趣,而不是一般指南。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
今天,IronRuby 已经“运行”Rails。 我们在 RailsConf 08 上演示了它运行 Rails 的情况。也就是说,我们在 IronRuby 上还有很多适合和完成的工作要做,以使其达到可以很好地运行 Rails 的状态。
目前我们还欠缺的是:
我们实际上在吞吐量方面做得很好 - 一旦我们编译完毕,一切就运行得相当好。
我们正在转向自适应编译策略,在该策略中,我们默认解释并编译我们找到的热点。 这将使开发者的体验大大变得更好。 我们还将有一个提前编译模式(可能与 NGEN 和智能缓存结合),这可能比自适应编译策略更好。
IronRuby already 'runs' Rails today. We demo'd it running Rails back at RailsConf 08. That said, we have a lot of fit and finish work to do on IronRuby to get it to a state where it can run Rails well.
Where we're lacking right now is:
We're actually doing fine on throughput - once we're compiled things run reasonably well.
We're moving towards an adaptive compilation strategy where we interpret by default and compile the hot spots that we find. This will make the developer experience much better. We will also have an ahead-of-time compilation mode (perhaps in conjunction with NGEN and intelligent caching) down the road which may be better than the adaptive compilation strategy.
看起来终于有一个:
http://www.ironruby.net/Documentation/Rails
Looks like there finally is one:
http://www.ironruby.net/Documentation/Rails
很抱歉让您失望,但我认为您必须自己编写教程。 除非我错过了什么,IronRuby 还没有运行 Rails,尽管他们已经演示了某些方面的运行。
根据 IronRuby 主页,RubySpecs 核心包的完成度约为 71%,这可能是从
rails 一直到
ironruby script/server
还有一段距离当 IR 运行 Rails 时,我想我们可能会听说它。 或者更确切地说,我们可能不得不将自己关在隔离室中以避免听到它......
Sorry to disappoint but I think you'll have to write the tutorial yourself. Unless I've missed something, IronRuby doesn't run Rails yet, although they've demonstrated some aspects running.
According to the IronRuby home page they're at about 71% complete on the RubySpecs core package, which is probably still some way from enough to go from
rails <projectName
right through toironruby script/server
When IR runs Rails, I think we may hear about it. Or rather, we may have to shut ourselves in isolation chambers to avoid hearing about it...
这里有一些适合初学者的不错的“一步一步”: http://www.ironruby.net/Samples_and_tutorials
Here are a couple of nice "step by step", for beginners: http://www.ironruby.net/Samples_and_tutorials