r/programming • • Dec 05 '15

Microsoft Edge’s JavaScript engine to go open-source

https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/
1.6k Upvotes

504 comments sorted by

View all comments

Show parent comments

18

u/vivainio Dec 05 '15

VS Code is their cross platform IDE. The old VS is probably a lost cause as far as cross platform aspect goes

22

u/Himrin Dec 05 '15

I definitely do not think that there is a comparison for everything that VS does for all of its supported languages vs VSCode.

No support, other than intellisense and completion for C#. No debugging nor compiling for C# either. Not to mention the lack of UI creation and rendering.

12

u/Eirenarch Dec 05 '15

Has it ever occurred to you that maybe VS Full is so good because they didn't have to bother porting to different platforms and could focus on building the best experience with the best technologies even if they were Windows specific?

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

16

u/installation_warlock Dec 05 '15

"Office for Mac" is not a build of "Office for Windows". It's a separate product and it doesn't have feature parity with the Windows version.

3

u/Throwaway_Kiwi Dec 06 '15

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.

3

u/cc81 Dec 05 '15

It would be a huge amount of work and up to now most of the things you produce with it would not even compile on other platforms.

2

u/MachinTrucChose Dec 06 '15

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).

4

u/cc81 Dec 06 '15

.NET is not cross platform. A subset is. Their c++ compiler is not.

Have you ever ported a non trivial c++ application to another operating system?

1

u/MachinTrucChose Dec 06 '15

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.

→ More replies (0)

6

u/Eirenarch Dec 05 '15

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.

0

u/[deleted] Dec 05 '15

[deleted]

7

u/tonyarkles Dec 05 '15

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.

0

u/[deleted] Dec 05 '15

[deleted]

→ More replies (0)

7

u/StrangeWill Dec 05 '15

Not really.

Yeah, just abstract a 50+ million line program after the fact, no big deal, right?

2

u/Eirenarch Dec 05 '15

I imagine it wouldn't be so good on Windows if this was the case.