42 points · by cmulligan · 12y ago · 52 comments
I could swear it's C++, and I hate C++. One major factor is it runs on all environments, including via asm.js if you are inclined that way.
It might be true that most apps end up written in other things, but the most money will be made from C++, C# (via Unity) and ObjC. If your app is too easy to write it will be cloned and you won't make money from it anyway.
That's a bit oversimplification. First of all, writing in JavaScript doesn't make the app easier to clone, the programming language has very little effect on the easiness of cloning. Secondly, even if an application can be re-implemented quickly, doesn't mean one cannot make money from it. Twitter can be implemented in a single weekend, but that doesn't mean the Twitter-clone will be profitable.
Especially considering that Twitter isn't either :-).
Yep, shipping the source code for your entire application IN the application doesn't make it any easier to clone. Somebody better tell that to the Phonegap users who are dealing with knockoffs:
http://www.tuaw.com/2012/02/17/ripoff-apps-plague-some-ios-d...
For apps with specific functionalities, no way. A combination of Java (for Android) and Objective-C (for iOS) with potentially some C++ under the hood to easily share logic code between platforms. C and C++ are pretty much the only languages that run on all those platforms (out of the box). Obviously you can get any language running on any platform, given enough time.
If you're targeting high end devices (which is easier when targeting iOS than Android) it's probably pretty good for UI stuff. The problem usually lies with the lower end Android handsets. That said, most of these pure HTML/JS apps are pure junk when comparing them to a well developed native app. Depends what the business objectives of the app are, I guess.
Say you have a $2M eng budget for start up round A for 2 years, so $1M per year. 1/2 goes to services/back end dev and ops. So $500K for front end. 3 platfroms, Web/mobile web, Android, IOS, so 3 developers ~ 150k. I recommend you get 3 HTML/js devs.
If you get 1 per platform: vacation/sick time, turn over, management difficulty, lack of oversight, pain. Just let the compilers do the work.
If your programming stack consists of 3-4 different languages, the mental maintenance required by the developers can become considerable. That number of languages is an inflection point. After that point is reached, you'll see resources directed to rewriting things in order to reduce the overhead, or the executives will end up creating new departments with different language requirements and roles.
It's not that people are lazy, complacent or stupid, it's that on average they can't retain multiple representations of the same thing in their head. If you search around, I think you'll find the average number of human languages known by any given person is between 2.5 and 2.8. Programming languages are no different than human languages.
You should choose the right tool for the job - that's it. That's neither stupid, lazy or complacent.
Could you elaborate on that?
I was excited a few days back that iOS/Android is now supported by Qt/C++. I found that it still doesn't support the QtQuick Controls on mobiles. That dampened my enthusiasm a bit.
HTML is another one. HTML gets better support on iOS and Android and there will be no reason to use something else in the future. It is much better when your app is small than it takes extra 12Mb (Qt libs).
There might be other little reasons why it might not fit for you because of technological reasons. Weight Qt against your requirements well.
I really like Qt/QML but it is not good for everything.
ObjC is also slow. Anytime you write something performance sensitive in ObjC, you usually drop down to pure C or pure C++. Luckily, since valid C is valid ObjC, this is rather easy.
Javascript and HTML is actually a great fit for mobile, but there are two complications. 1) You will have to mimick the UI of the native platform. 2) Mobile platforms have sub-par JS engines. iOS don't allow JITs outside Safari (even when you use a webview in your ObjC app) which in turn makes JS-based apps in iOS slow. Android has in general had a pretty sucky webview, but that is getting fixed in 4.4 with chromium being the default engine.
JS is getting better everyday on the mobile though, I would be surprised if not alot of people were using JS for apps in the coming years.
99% of TOP20 apps in each category are NDK apps, you like or not.
The only app on the list that could benefit alot from the NDK would be Adobe reader, but even Adobe uses the native UI to a great extent, so it uses the SDK as well. The other apps are (I assume, as that would be easiest) simple clients to a backend server. There wouldn't be much benefit in using the NDK for these apps, as they mostly are a combination of UI and TCP/HTTP which are included in the SDK anyway.
Btw, any source that these apps actually use the NDK?
As for languages - it's whatever you can compile.
It is even better that Moto G (200$ device without contract) has KitKat already.
I love it!
http://en.wikipedia.org/wiki/Pidgin
"A pidgin is not the native language of any speech community, but is instead learned as a second language."
Snooze.