我应该学习MacRuby还是RubyCocoa [英] Should I learn MacRuby or RubyCocoa
问题描述
我想学习使用ruby的mac开发,但是我不确定要去哪一个. RubyCocoa已经存在了很长时间,但是从长远来看,我认为MacRuby会击败它..
I am wanting to learn mac development with ruby but I'm not sure which one to go at. RubyCocoa has been around longer but I think MacRuby will beat it out in the long run..
有什么建议吗?
推荐答案
使用MacRuby.这是未来:)
Go with MacRuby. It's the future :)
更新,更快,集成度更高. HotCocoa也很棒.
It's newer, way faster, and much better integrated. HotCocoa is awesome as well.
MacRuby是在Apple Technologies之上实现的Ruby VM,而不是像RubyCocoa这样的桥梁.例如,Ruby String本质上是一个NSString,而不是由运行时进行桥接.这是一种更清洁,更快,更可靠的方法.它也是由Apple开发和赞助的,这意味着它可能会在某些时候成为OS X的一部分.
MacRuby is a Ruby VM implemented on top of Apple Technologies as opposed to a bridge like RubyCocoa. A Ruby String for example is an NSString by nature, instead of being bridged by the runtime. It's a much cleaner, faster and more solid approach. It's also developed and sponsored by Apple, which means it could become part of OS X at some point.
另请参阅此帖子:为什么MacRuby很重要
这篇关于我应该学习MacRuby还是RubyCocoa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!