Yep. Doing cross-platform development well is hard - especially for large GUI applications.
Even if you end up using Qt or something, there's always issues with event loops working differently on different platforms, and you having to write custom filter code to deal with that (mostly OS X in that particular case).
Then for reading files you've got differences between Windows and OS X/ Linux for character encoding and the way files get flushed to disk / cached at OS level...
You've got different default stack sizes between platforms so bugs crop up in different ways on different platforms.
If you're doing 3D stuff (so OpenGL / D3D) you've got to deal with fairly crappy OS X drivers in general for graphics (it's got better recently, but it's still a mess), the open source drivers on Linux generally are weird, and only the proprietary NVidia stuff is actually any good for high end (we're talking VFX level here) stuff.
And then when you've got three different builds of an app for the three different platforms, you've got to QA/Test it three times, and automating tests of GUI stuff is really hard so it's mostly manual work.
The alternative is a core C++ library, which on each platform is wrapped in the platform's natively-written specifically-built GUI. And that involves at least two different languages (maybe 3 if you use C# for Windows), with completely different GUI toolkits.
16
u/berkut Dec 05 '15
Yep. Doing cross-platform development well is hard - especially for large GUI applications.
Even if you end up using Qt or something, there's always issues with event loops working differently on different platforms, and you having to write custom filter code to deal with that (mostly OS X in that particular case).
Then for reading files you've got differences between Windows and OS X/ Linux for character encoding and the way files get flushed to disk / cached at OS level...
You've got different default stack sizes between platforms so bugs crop up in different ways on different platforms.
If you're doing 3D stuff (so OpenGL / D3D) you've got to deal with fairly crappy OS X drivers in general for graphics (it's got better recently, but it's still a mess), the open source drivers on Linux generally are weird, and only the proprietary NVidia stuff is actually any good for high end (we're talking VFX level here) stuff.
And then when you've got three different builds of an app for the three different platforms, you've got to QA/Test it three times, and automating tests of GUI stuff is really hard so it's mostly manual work.
The alternative is a core C++ library, which on each platform is wrapped in the platform's natively-written specifically-built GUI. And that involves at least two different languages (maybe 3 if you use C# for Windows), with completely different GUI toolkits.