3 ms·
> C++ is the one language that can work on both iOS and Android (and Windows phone?) C# can do that too, using Xamarin.
by Maarten88 13y ago
> C++ is the one language that can work on both iOS and Android (and Windows phone?)
C# can do that too, using Xamarin.
- pjmlp 13y agoC++'s benefit is that it is common to all SDKs. With Xamarin you must buy it, which may not be an option for hobby developers.
- lstamour 13y agoXamarin does have a nice UI for working with Xcode/iOS, though I too fall on the cheap side of the fence. :)
- pjmlp 13y agoI have played around with all three, Java, C++, C#. For business I would surely advise Xamarin, as their prices are quite reasonable. But if you are just hacking some stuff every now and then, it might not be worth it. And on that case, there is also the possibility to compile Java to native code in iOS (RoboVM) or use any other language that either has an AOT compiler, or has a compiler available that compiles via C. It is always a matter how much time vs money, one wants to invest.