I doubt that's why. I think the reason is just that an impressive amount of engineering by skilled programmers and designers went into it. It's not like microsoft doesn't hypothetically have the resources to make a product just as good that's cross platform, they simply lack a reason to do so. Office didn't get any worse when they started coming out with that for mac
It's also a bit shit. I have to deny it access to my keychain five times before it will start (allowing it access just becomes an infinite loop of keychain access dialogs), and I've had Excel 2016 crash on me twice so far, losing my work since last save, and I only installed it two weeks ago.
C'mon, you're a developer (presumably). You know we work in layers. 99% of the code will be platform-agnostic, and the entire thing would work fine if the platform-specific layer(s) underneath is (are) updated.
Most of VS is written in C#. And now .NET is crossplatform. WPF still isn't, but that could be fixed as well. If Qt can do it, so can M$ (I don't use this name in a negative way, but as an indicator that they have the financial resources to achieve it).
C++ is a native language, closely tied to architecture/memory/etc. .NET OTOH was designed to be a portable VM runtime. That's how they got .NET Core working crossplatform within less than a year, with only 10 people working on it. Suddenly hundreds of millions of .NET LOC can run on OSX and Linux.
Your application code is (should be) platform-agnostic. Especially for something high-level like an IDE, we're not talking about drivers here, look at how all of Jetbrains' Java-based IDEs are fully crossplatform. It's up to the layers beneath you to fix their platform-specific code to let your application work on other platforms. For Visual Studio, now that .NET Core (including filesystem, network, etc.) is crossplatform, the only thing left to port is the WPF layer.
Visual Studio is not only supporting .NET but also their C++ compiler.
.NET Core is FAR from the whole .NET framework. You have no support for winforms either nor things like Entity Framework (only the new rewritten version that is not released yet)
I know UI (WPF/WinForms) isn't multiplatform yet, I said so, but if Qt and Java-whatever can do it, so can MS. WPF is already an abstraction layer with very little Windows-specific code (ie taskbar, jumplists, which in Qt are optional Windows-only classes), they just need that abstraction layer to be implemented on other platforms. It would only be the outer-most layer that needs fixing.
You realize Office for Mac is a separate product. Certainly MS could make another Visual Studio for Mac that is just as good but if they have to share the same codebase it would be hard.
I suspect it wouldn't have been nearly as good on Windows if it were written in QT. Generally cross-platform UI frameworks end up making apps that just don't quite feel right. You end up with a QT app, not a Windows app. It's the same with cross-platform mobile UI frameworks; you don't end up with an iOS app and an Android app, you end up with an app that just doesn't quite feel right on either platform.
I'm all for writing cross platform libraries for all of the business and data logic, but I'll hand roll a separate UI for each platform that actually matches the platform's UI paradigms.
Do you have a good example of a modern Qt app that actually does a good job of this on Windows and Mac? I'm genuinely curious, it's been a few years since I've tried.
The slideshow you linked had some decent examples, but I had to chuckle a little bit about the code editor they're demoing... It looks like a total non-Windows ufo :). The other dialogs and things did look pretty good though.
And I definitely do agree re: Gtk. That's a terrible way to write a Windows app :D.
Can't come up with a good example since I don't use Windows very much. From what I see on Google images, most Qt applications I look for use icons that look out of place on Windows, like qBittorrent or have their own style (Maya, Source Filmmaker).
This is mostly because developers don't care about integrating well with Windows, but you won't find the tool-kit stopping you if that's what you want.
That was kind of my experience looking there too. It seemed like it had potential to look normal, but people were simultaneously going out of their way to make it look like a ufo (eg tooltip gradients, weird margins, etc) and not putting in the effort to make Windows-style icons.
I'd say I'm primarily an embedded developer, not as much a designer or web or mobile dev, but I did a lot of that style of work for a few years and worked closely with a great designer. He has permanently broken my brain so that it gets annoyed with little details like that that just don't quite visually fit with their surroundings.
Edit: either way, it seems to do a way better job than, say, Swing :D
26
u/[deleted] Dec 05 '15
I doubt that's why. I think the reason is just that an impressive amount of engineering by skilled programmers and designers went into it. It's not like microsoft doesn't hypothetically have the resources to make a product just as good that's cross platform, they simply lack a reason to do so. Office didn't get any worse when they started coming out with that for mac