News for hackers. Stuff that matters.

Poll

Objective-C 31 votes
Java 13 votes
JavaScript (Native "app store" app, e.g. PhoneGap, Titanium) 30 votes
JavaScript (HTML5/Mobile-optimized web-site) 66 votes
Other (explain in a comment) 21 votes
0 votes
Re:Poll: A year from now, which language will you be writing... by hooeezit on Thursday December 09, 2010 @07:51PM (#1990039)
Python on Android would be my preferred option. But I've yet to look at Scala and Ruby, so if they become available on Android, I'd definitely try that. I have 3 android devices, but haven't gotten around to programming them because I hate Java.
Re:Poll: A year from now, which language will you be writing... by ElliotH on Thursday December 09, 2010 @08:22PM (#1990149)
ASE(http://google-opensource.blogspot.com/2009/06/introducing-an...) Lets Ruby and Python run among others. It may not be ideal for distribution to end-users yet, but it seems pretty good.
Re:Poll: A year from now, which language will you be writing... by orangecat on Thursday December 09, 2010 @08:05PM (#1990091)
You can use Scala with a moderate amount of hassle today: http://www.assembla.com/wiki/show/scala-ide/Developing_for_A....
Re:Poll: A year from now, which language will you be writing... by profquail on Thursday December 09, 2010 @07:58PM (#1990066)
What about C# or F# for Windows Phone apps? I'd either use one of those (I do most of my development on .NET these days) or an HTML5/JavaScript site.
Re:Poll: A year from now, which language will you be writing... by daleharvey on Thursday December 09, 2010 @07:45PM (#1990023)
While native applications wont go away any time soon, I fully believe that we will see the exact same position as we do currently do with flash vs the web.

People will use native apps particularly when web apps just cant provide the functionality needed, but web apps will grow into the large majority, slowly improving and eating out the market from the bottom.

its taken the web a very long time to take out flash's market share so it could take a very long time on mobile as well, however the web is progressing rapidly these days so it may not be the long drawn out process we have seen with flash.

Re:Poll: A year from now, which language will you be writing... by iloveponies on Thursday December 09, 2010 @07:59PM (#1990069)
I disagree. Native apps will not have to, unless they specifically introduce it, the overheads of a browser rendering engine and all that entails. Even after you make the rendering engine as efficient as possible both in software and in hardware engineering, the overheads will always be there no matter how good you get things. You really can only do so much on 3.7v.

Personally, I'm looking into doing Qt development next year.

Re:Poll: A year from now, which language will you be writing... by frankus on Thursday December 09, 2010 @08:21PM (#1990145)
At the risk of making this a "me too" comment, I want to expand on iloveponies answer.

Mobile is special, in that the answer to the question of "would less processor/memory/storage overhead be better?" is probably going to be "yes" for the foreseeable future. It certainly will for the next year.

This gives you a very different tradeoff between developer productivity and code efficiency than you would have on a desktop machine, much less in a server farm.

At some point batteries will be so good, and processors so efficient, and memory so cheap that the overhead of not running natively will go from "it doesn't matter except for some games and stuff" to "it doesn't matter". And compilers and development environments will be able to amp up developer productivity without sacrificing power efficiency. So daleharvey might get the last laugh. Just not next year.

Re:Poll: A year from now, which language will you be writing... by daleharvey on Thursday December 09, 2010 @08:13PM (#1990118)
I think any time you are saying X maybe ore convenient but it wont be as computationally efficient it becomes a matter of "when" not a matter of "if"

That being said I already spend the majority of my time using mobile optimised web sites / web apps and they havent had a noticeable effect on my battery vs native apps, so while I am making it a "prediction", its really already happened, I just think the trend will continue.

Re:Poll: A year from now, which language will you be writing... by sgrove on Thursday December 09, 2010 @07:51PM (#1990041)
It's tough to say one exactly, so I went for Javascript native and mobile, as well as other.

I only target iOS as mobile devices, so my focus maybe be slightly different from others (android is catching on a lot around here with my friends, and nobody is picking up blackberry).

For graphical big projects, I tend to write in Scheme and compile down to iphone. It's nice to have the flexibility and comfortable toolset.

I do a lot of small quick-and-dirty projects as mobile javascript apps, and they tend to grow over time, but never too big... until recently, I've been thinking about wrapping these in some sort of native-layer so that I can possibly distribute them via the app-store (honestly, most of the native stuff I used to slug through objective-c to get is available with the new iOS Safari stuff).

Re:Poll: A year from now, which language will you be writing... by robryan on Thursday December 09, 2010 @08:00PM (#1990073)
I wouldn't be surprised if windows 7 phone apps were a big part of the eco system in a year, so I guess C# will be common for app development.
Re:Poll: A year from now, which language will you be writing... by geebee on Thursday December 09, 2010 @07:51PM (#1990037)
By and large, I'll need to make existing web apps mobile friendly (ie., easy to use on a small mobile browser), rather than write apps for a particular mobile device per se. So core programming languages will probably still be Java and Ruby. I expect that HTML5, CSS, Javascript, other UI type languages will factor in as well.
Re:Poll: A year from now, which language will you be writing... by orangecat on Thursday December 09, 2010 @07:44PM (#1990018)
Ideally, Scala or Python targeting Android. Probably some JavaScript in one or both categories as well.
Re:Poll: A year from now, which language will you be writing... by geoffc on Thursday December 09, 2010 @07:52PM (#1990042)
I wish it was mobile optimized web site but all the good stuff, camera control, address book, motion sensors etc. is not exposed to web apps and won't be any time soon. You will be writing an objective-c app for iphone, and java apps for android and bb.
Re:Poll: A year from now, which language will you be writing... by PaulHoule on Thursday December 09, 2010 @07:52PM (#1990044)
I'd love to give Silverlight a try. I've got a Silverlight web mapping app that handles 20x the complexity that I've ever seen with AJAX or Flash and I think I could get it up to 100x.
Re:Poll: A year from now, which language will you be writing... by asnyder on Thursday December 09, 2010 @07:39PM (#1989993)
There are many more options than the above listed. You should add an option for "Other".
Re:Poll: A year from now, which language will you be writing... by hugs on Thursday December 09, 2010 @07:40PM (#1989998)
Thanks. Good point. Added. :-)
Re:Poll: A year from now, which language will you be writing... by jhund on Thursday December 09, 2010 @08:06PM (#1990092)
I'm going to use sproutcore
Re:Poll: A year from now, which language will you be writing... by ljonesfl on Friday December 10, 2010 @08:46AM (#1991590)
Python for Android and Ruby for iOS are pretty realistic options.
Re:Poll: A year from now, which language will you be writing... by JoshCole on Thursday December 09, 2010 @08:07PM (#1990099)
Hopefully Clojure, which I suppose is another way of saying Java.
Re:Poll: A year from now, which language will you be writing... by SpikeGronim on Thursday December 09, 2010 @07:44PM (#1990016)
HMTL5
Re:Poll: A year from now, which language will you be writing... by hugs on Thursday December 09, 2010 @07:53PM (#1990048)
Thanks. I updated one of the JS entries to: "JavaScript (HTML5/Mobile-optimized web-site)". Do you think "HTML5" should be a completely separate option?
Re:Poll: A year from now, which language will you be writing... by Zev on Thursday December 09, 2010 @09:37PM (#1990335)
Likely Objective-C. Small chance that it might be MacRuby.
Re:Poll: A year from now, which language will you be writing... by binaryfinery on Thursday December 09, 2010 @08:04PM (#1990086)
Gee, we've only been writing C# mobile apps for five years. Except now I can write iOS and Android apps in it too.