Re:Cross Platform Development with Mono
by JasonFruit on Monday April 28, 2014 @11:24AM
(#7660533)
I'm confused — how is C#.NET a "native code solution"? And what makes you say it's "our best bet"? I've been pretty pleased with PyGTK/PyQT cross-platform development, or, for that matter, Free Pascal LCL applications, if you want actual native code; I find them much less touchy to get working across platforms (though that could be just my relative level of experience with them).
Re:Cross Platform Development with Mono
by leafartist on Monday April 28, 2014 @11:41AM
(#7660679)
Have you tired c#.Net recently?
Re:Cross Platform Development with Mono
by JasonFruit on Monday April 28, 2014 @02:10PM
(#7661794)
It's been a couple of years; I've been writing for my own satisfaction, and C#, for all its inarguable advantages, is not that much fun.
.NET is definitely not our best bet, because once its out of Windows land, the quality falls sharply. Mono is seriously lacking [1] so does Monodevelop etc.
.NET isn't native code.
There are multiple native compilers for .NET. Xamarin uses one for iOS and Android apps (well, in the case of Android, you're compiling to Dalvik bytecode, but it's just as native as any other Android app).
Re:Cross Platform Development with Mono
by sochinochi on Monday April 28, 2014 @12:57PM
(#7661202)
Xamarin.Android apps do not compile to Dalvik bytecode. Every app ships with MonoVM which runs side-by-side with Dalvik.
Thank you for the correction; I seem to have had Xamarin on Android confused with Xamarin on iOS, which does compile to native code.[1]
1) http://docs.xamarin.com/guides/ios/advanced_topics/limitatio...
Of course it is not. It's a framework. C# on the other hand can compile to native. This is how it works on iOS.
No but you can wrap native UI libraries, the most critical piece that needs to be native. Contrast this with an HTML CSS UI.
You can wrap native UI libraries with just about every language in existence. That's not what people usually mean when they say "native" though. I think they mean precompiled to a binary for a specific architecture.
yeah you can. The whole native vs non native is about whether the UI is native and directly integrates with the platform, not the language or whether there is a runtime.
Err, well the article is about using Mono with GTK, which is not native outside of Gnome.
That's why you'd use monomac, mono touch or wpf on osx,iOS and windows, respectively. Xamarin also has a solution for android.
What about Qt? With python, C++, whatever...
Edit: When I said "native code", I meant that Mono allows you to wrap native libraries with greater ease than anything else I've ever encountered.