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

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.

→ More replies (27)
→ More replies (24)

39

u/keef_hernandez Dec 06 '15

stupidly

Visual Studio is basically a mini OS. You can subscribe to news feeds and web surf inside of it. You run setup, you wait until it finishes and bam you are ready to start coding. There are definitely benefits to that philosophy, especially for new developers.

On the other hand, I've recently switched to a job where I spend all of my time in Unix terminals and I can't image ever going back.

22

u/northrupthebandgeek Dec 06 '15

Visual Studio is basically a mini OS.

So it's basically a Windows-only Emacs?

7

u/quanticle Dec 06 '15

That's one way of putting it, yeah. And the same criticisms that were applied to emacs (so bloated, uses lots of RAM, etc) apply equally to Visual Studio (or pretty much any other IDE out there).

→ More replies (1)
→ More replies (1)

41

u/Vaughnatri Dec 06 '15

Curious. I spend much of my time nose deep in visual studio. It seems like an awesomely efficient ide. What is it about working in terminals that is superior?

108

u/[deleted] Dec 06 '15

The upvotes

17

u/BowserKoopa Dec 06 '15

All the tools being separate and designed independent of each other means dead-easy scripting and Interpol with other tools.

8

u/peterwilli Dec 06 '15

For me it's more than just dev environment. I spend even my childhood in Linux (from age 9). I dont know how to use windows anymore. If people need help with their computers (use windows) I dont know what to say until I see their desktop so I can figure out how it works :P

So I am so used to programming and working with linux and terminals that I can work faster on that than using Visual Studio or something.

Needless to say, I do run some sexy IDE's on the side like WebStorm and IntelliJ IDEA and Atom (all for different purposes)

→ More replies (22)

9

u/emilvikstrom Dec 06 '15

Ah, so the reason they won't bring VS to other platforms is that they do not want to compete with Emacs!

6

u/northrupthebandgeek Dec 06 '15

Too bad Emacs has a Windows version, so their efforts are in vain.

22

u/[deleted] Dec 06 '15

I prefer Emacs for editor-as-OS capabilities.

→ More replies (5)
→ More replies (1)

17

u/theonlylawislove Dec 05 '15

VS Code 2 years from now will be awesome. They are putting a lot of effort into it to make it sublime on steroids.

→ More replies (16)

6

u/SomeNetworkGuy Dec 05 '15

Am I reading that right? 50 million lines of code? How is that even possible?

23

u/agocke Dec 06 '15

Roslyn (C# & VB compilers + IDE) alone is 3 million lines. Could I believe that there are 16 Roslyns in VS (think C++, JS, TypeScript, F#, Intellitrace, etc)? Definitely.

16

u/[deleted] Dec 05 '15

I doubt those numbers are accurate. Obviously open source projects we can easily verify the number.

I heard the 50M included all dependencies, including things like the operating system and such.

But I wouldn't trust some random number for proprietary codebases, it's impossible to verify.

→ More replies (1)

12

u/speedisavirus Dec 06 '15 edited Dec 06 '15

Its incredibly mature, complex, and has tons of backwards compatibility. Think about everything it does out of the box and has for like a decade now. It's monumentally complex. Now, if they make a clean cut I bet its size would drop down to around 25 million.

The real wtf in all this is that the healthcare.gov site has 500,000,000 lines of code. No wonder why it was such a piece of shit. Whoever was in charge of that...well...should never run a project again.

9

u/[deleted] Dec 06 '15 edited Dec 06 '15

*500 Million lines of code for healthcare.gov according to the graph.

How the hell is that possible ?

19

u/tornato7 Dec 06 '15

I saw the code for healthcare.gov, I'll paste some of the it here:

Healthcare.giveHealthcare(citizens[0]);
Healthcare.giveHealthcare(citizens[1]);
Healthcare.giveHealthcare(citizens[2]);
...
Healthcare.giveHealthcare(citizens[297000000]);

Apparently they were getting paid per line of code.

10

u/Throwaway_Kiwi Dec 06 '15

....I seriously hope you're kidding.

→ More replies (3)

7

u/speedisavirus Dec 06 '15 edited Dec 06 '15

I know. I can't possibly comprehend how that is possible. They had to have hired an enormous amount of the most incompetent people on the planet for that to happen. Definitely a fuck ton of people to write 500,000,000 lines in that time period regardless of how shitty they were.

7

u/OMG_Ponies Dec 06 '15

welcome to government contracting.

→ More replies (3)
→ More replies (8)
→ More replies (10)
→ More replies (3)

4

u/OffbeatDrizzle Dec 06 '15

what the fuck are car manufacturers playing at? how many lines of code does it take to turn my windscreen wipers on?

→ More replies (2)
→ More replies (11)