News for hackers. Stuff that matters.
Re:Xamarin makes me sad, here is my message to them by Zigurd on Sunday September 21, 2014 @11:51PM (#8349144)
The author's complaints about Xamarin might be true, but it is also likely that Xamarin is less broken than any other cross-platform solution. If a client insisted on one code-base for iOS and Android I would choose Xamarin.

Doing what Xamarin does is VERY hard and Xamarin hasn't had big-time funding until recently. And they can't stop and just fix bugs, like the article author would like. Xamarin is on the treadmill and has to keep up with two platforms that are in competition with each other. The only good news in that is that they will probably converge in terms of capabilities. But, damn, I wouldn't want that job.

3rd party dev tools are a thankless and usually VC-less pursuit. The investors are probably hoping for an exit in the form of Satya Nadella taking C# and VS cross-platform and using it for Microsoft's own apps.

Re:Xamarin makes me sad, here is my message to them by vyrotek on Monday September 22, 2014 @12:14AM (#8349207)
A lot of fans of Microsoft/C# (Myself included) would love to see some sort of acquisition happen. They definitely have some sort of relationship already. What I do find really interesting is that Microsoft seems to be pursuing Cordova (aka PhoneGap) as well.

http://www.visualstudio.com/en-us/explore/cordova-vs.aspx

Re:Xamarin makes me sad, here is my message to them by pit on Monday September 22, 2014 @12:17AM (#8349216)
So is IBM, with their Worklight platform:

https://www.ibm.com/developerworks/community/blogs/mobileblo...

Weird.

Re:Xamarin makes me sad, here is my message to them by vinceguidry on Monday September 22, 2014 @01:32AM (#8349402)
> If a client insisted on one code-base for iOS and Android I would choose Xamarin.

Have you considered Ruby? With Ruboto for Android and RubyMotion for iOS, I'd think you could get a pretty good single-codebase solution. I ask because as a Ruby dev who may one day branch out, I'd like to know what I'd be getting myself into, and it sounds like you might have gone down that road.

Re:Xamarin makes me sad, here is my message to them by eropple on Monday September 22, 2014 @02:01AM (#8349457)
My experience with Ruboto has not been good. Gave it a try during a sojourn away from Xamarin (which I use for the game I'm making, but Ruboto was for something else) and its perf was really unfortunate on a Nexus 4, not much better on a Nexus 5. You'll end up writing anything nontrivial in Java anyway, making a lot of it moot.
Re:Xamarin makes me sad, here is my message to them by srgpqt on Monday September 22, 2014 @07:34AM (#8350113)
RubyMotion now has builtin (beta) support for Android.

http://blog.rubymotion.com/post/97668474211/announcing-the-p...

Re:Xamarin makes me sad, here is my message to them by AlexeyBrin on Monday September 22, 2014 @11:30AM (#8350946)
This seems like a viable approach in the future. I hope you are not suggesting that it is OK to send code compiled with a beta version to a client.
Re:Xamarin makes me sad, here is my message to them by vinceguidry on Monday September 22, 2014 @01:04PM (#8351386)
> I hope you are not suggesting that it is OK to send code compiled with a beta version to a client.

If the client's demanding a single-codebase solution for both Android and iOS and you are better at Ruby than you are with either Java or Objective C, then it might make sense to sell the client on using the beta.

Re:Xamarin makes me sad, here is my message to them by AlexeyBrin on Monday September 22, 2014 @04:39PM (#8352501)
I guess it depends on the client, if he is willing to take the risk that, for e.g., his app won't be compilable with the final version of RubyMotion. You can probably convince him it is a good idea if you specify in your contract that you will offer support in the future when RubyMotion for Android is stable.

I think RubyMotion could be a good idea, even today, for someone that knows and use Ruby for his own projects.

Re:Xamarin makes me sad, here is my message to them by pjmlp on Monday September 22, 2014 @03:21AM (#8349600)
> If a client insisted on one code-base for iOS and Android I would choose Xamarin.

Except this is not possible, as you have to recode the UI for each device anyway.

So just go C++, or any other language with compilers that can target C, and do as little as possible in the UI part.

Companies like Dropbox are following this approach.

Re:Xamarin makes me sad, here is my message to them by Zigurd on Monday September 22, 2014 @09:35AM (#8350469)
In principle, Xamarin Forms should enable many common UI elements, like list views, to be coded cross-platform. In practice, I wonder if that holds up well w.r.t. hooking the list views up to the model behind them. But, nonetheless, Xamamrin supports both cross-platform and native UI elements, which seems like a practical approach.

All that said, I would normally advise a client not only to have native code, but also large amounts of native design for their main platform targets. Lots of Android apps suffer from port-itis. Transliterating an iOS implementation inevitably makes for a lackluster Android app that underutilizes Android modularity features among other things Android does well.