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

625

u/khaki0 Dec 05 '15

This is not the Microsoft I grew up with. Stop open sourcing.

But in all seriousness, I like it.

102

u/Himrin Dec 05 '15

If only we got more traction on VS on multiple platforms.

109

u/adolfojp Dec 05 '15

I don't see that happening. Microsoft realized that they lost the fight on web and application servers so they made their server stuff cross platform. But they know that they're still dominant on the desktop so it makes sense for them to promote Windows as a platform for cross platform development. The day that Microsoft releases a cross platform version of Visual Studio is the day that Windows is no longer profitable. Besides, they want people on Windows because they need people to write Universal Apps for their mobile platforms which can't be done in Mac or Linux.

105

u/StrangeWill Dec 05 '15

I'd argue it's simply because of the stupidly large codebase, it's simply a huge undertaking even if Microsoft wanted to do it especially when portability is not a concern the first 7 times around ;)

I'd like to see them see about fleshing out VS Code into something more robust though.

46

u/badcookies Dec 05 '15

Til that windows 7 is less than half the size of osx 10.4

37

u/ironnomi Dec 06 '15

Having seen both code bases extensively, I can say there can be NO direct code comparisons between the two.

In general, Apple's ObjC code easily takes up 4x the space as the typical Windows C++ code.

-4

u/badcookies Dec 06 '15

You are telling me that the os is written in objective c?? Why do you think that?

22

u/ironnomi Dec 06 '15

Both OSes are written in multiple languages. Some of OSX is written in ObjC.

At least the parts I've seen were written in C, C++, ASM and ObjC (actually some of the ObjC might have been ObjC++, but my memory isn't that good.)

Windows 7 however was all either C or C++, nothing I was looking at was C#, but I'm sure parts of Win7 were written in it.

You realize of course that those lines of code are not the kernels only right? Any time you see those LoC things they mean everything that they consider part of the OS. It's going to include the kernel, the boot code, the libraries, the utilities, the interfaces, the included apps, everything.

3

u/brobits Dec 06 '15

[project singularity is a C# windows kernel by microsoft research](https://en.wikipedia.org/wiki/Singularity_(operating_system))

→ More replies (3)