Live data from Hacker News

PhoneGap vs RubyMotion

iconoclastlabs.com

1–10 of 37 posts

Re: PhoneGap vs RubyMotion

#2
Phonegap is useful when you want to get a quick and dirty one off application launched. It lets your designers work in CSS which is very familiar territory. Most one off apps are more informational than interactive (Think conference schedule app) and phone gap is more than responsive enough. It supports enough basic api calls to do simple things like take a picture and stuff and does it well. Ruby Motion seems like what I wouid use for a stable long term code base for a new application. The difference being the product. The small one offs are usually supporting a bigger product (like a conference) and the long term code base is a product itself.

Re: PhoneGap vs RubyMotion

#3
The article isn't necessarily a far comparison: PhoneGap is cross platform, RubyMotion isn't. But it's nice to see someone holding up the different tools against one another.

His conclusion is more than correct for PhoneGap: PhoneGap feels like half-assing it.

Re: PhoneGap vs RubyMotion

#4

The article isn't necessarily a far comparison: PhoneGap is cross platform, RubyMotion isn't. But it's nice to see someone holding up the different tools against one another. His conclusion is more than correct for PhoneGap: PhoneGap feels like half-assing it.

Disclaimer: I'm Matt, the other half of Iconoclast Labs.

That platform limitation of RubyMotion and the cross-platform nature of PhoneGap is acknowledged multiple times in the post.

From a business perspective, the cross platform nature of PhoneGap may make it a better choice for some projects but from our short comparison of the PhoneGap version of the app deployed on both platforms, iOS appears more promising* so that's why we chose to write a native version for iOS (plus, coming from more of a Ruby/web background and having no Obj-C experience, RubyMotion lowered the barrier to entry for that). It's been an interesting learning experience for sure.

[*] http://iconoclastlabs.com/cms/blog/posts/chatoms-app-store-e...

Re: PhoneGap vs RubyMotion

#5
post #4

The article isn't necessarily a far comparison: PhoneGap is cross platform, RubyMotion isn't. But it's nice to see someone holding up the different tools against one another. His conclusion is more than correct for PhoneGap: PhoneGap feels like half-assing it.

Disclaimer: I'm Matt, the other half of Iconoclast Labs. That platform limitation of RubyMotion and the cross-platform nature of PhoneGap is acknowledged multiple times in the post. From a business perspective, the cross platform nature of PhoneGap may make it a better choice for some projects but from our short comparison of the PhoneGap version of the app deployed on both platforms, iOS appears more promising* so t…

Can I include a C source file in RubyMotion project, compile it, and call the C functions directly from Ruby? That can be done easily with Obj-C.

I was looking for its answer for some time now. Our projects include a lot of C code.

Re: PhoneGap vs RubyMotion

#6
post #5
post #4

Earlier quoted context omitted.

Disclaimer: I'm Matt, the other half of Iconoclast Labs. That platform limitation of RubyMotion and the cross-platform nature of PhoneGap is acknowledged multiple times in the post. From a business perspective, the cross platform nature of PhoneGap may make it a better choice for some projects but from our short comparison of the PhoneGap version of the app deployed on both platforms, iOS appears more promising* so t…

Can I include a C source file in RubyMotion project, compile it, and call the C functions directly from Ruby? That can be done easily with Obj-C. I was looking for its answer for some time now. Our projects include a lot of C code.

I'm honestly not sure, I have no experience with Objective-C but just from reading I think you'll still need to write an Objective-C interface/wrapper for your C code before it can be interfaced with RubyMotion.

Edit: A discussion topic on the newsgroup about it: https://groups.google.com/d/msg/rubymotion/tn5p3g071OE/5jyJI... (you'll have to sign up I think)

Re: PhoneGap vs RubyMotion

#7
One thing that really put me off about this article: the giant header that scrolls with the page. Vertical real-estate is already limited on a wide-screen monitor. I hate it when CNet does it, I hate it when news sites do it, I hate it all around. I understand I might not be speaking for everyone, but a nice thing would be an option to stick the header to the top. It could scroll by default until you click a button, where it would lock to the top of the screen.

As is, though, I find myself judging a site/article/company based on how many elements of their site irritate me. And it's a giant header.

Re: PhoneGap vs RubyMotion

#8
I can understand PhoneGap will be handy when requiring cross platform compatibility and you are not a multi platform expert. The experience is always going to be underwhelming. RubyMotion is much more ambiguous, on one hand we have beautiful XCode and Objective-C environment which is a pleasure to use, and then this command line monstrosity! And it do not save you from learning cocoa libraries - So if you want to develop for iOS, try to use Apple tools - period.

Re: PhoneGap vs RubyMotion

#9
post #5
post #4

Earlier quoted context omitted.

Disclaimer: I'm Matt, the other half of Iconoclast Labs. That platform limitation of RubyMotion and the cross-platform nature of PhoneGap is acknowledged multiple times in the post. From a business perspective, the cross platform nature of PhoneGap may make it a better choice for some projects but from our short comparison of the PhoneGap version of the app deployed on both platforms, iOS appears more promising* so t…

Can I include a C source file in RubyMotion project, compile it, and call the C functions directly from Ruby? That can be done easily with Obj-C. I was looking for its answer for some time now. Our projects include a lot of C code.

Yes, you can vendor pure C libraries and use their APIs in a RubyMotion project (assuming the C interface is simple enough). Here is an example that uses the OpenGL C APIs: https://github.com/HipByte/RubyMotionSamples/tree/master/Hel...

Re: PhoneGap vs RubyMotion

#10
post #8

I can understand PhoneGap will be handy when requiring cross platform compatibility and you are not a multi platform expert. The experience is always going to be underwhelming. RubyMotion is much more ambiguous, on one hand we have beautiful XCode and Objective-C environment which is a pleasure to use, and then this command line monstrosity! And it do not save you from learning cocoa libraries - So if you want to dev…

Well, there are folks who don't find Xcode or Objective-C beautiful and prefer using the command-line. A lot of folks, actually. :)
Post reply on HN