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.

6

u/SomeNetworkGuy Dec 05 '15

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

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.

1

u/jangxx Dec 06 '15

Wait, I thought this 500,000,000 loc was a joke. Are you telling me that this is an actual estimation?

1

u/speedisavirus Dec 06 '15

It doesn't sound like it is. Now, the question comes to whether they are counting the web components, the glue code, and the code of all the separately developed systems that they integrate with. I couldn't fathom how any web system could reach even a 5th of this side unless is was a complete shit system...which it was...so maybe it is true?

Slate says it is 500,000,000 as well. Apparently they thought 5,000,000 had to be rewritten. No idea how they even did it in that time.

http://www.slate.com/blogs/future_tense/2013/10/21/healthcare_gov_problems_why_5_million_lines_of_code_is_the_wrong_way_to.html

EDIT: sorry updated to match what I meant.

If the site really contains 500 million lines of code, they say, that’s a strong hint that the programmers involved are doing something wrong.

No shit, yo

1

u/jangxx Dec 06 '15

500,000,000 still sounds completely crazy. I mean with that many lines their codebase would be serveral gigabytes in size. I don't think it's possible for anyone to think that's okay. But what do I know.

0

u/speedisavirus Dec 06 '15

Oh I know but it would also explain why it was so incredibly dysfunctional. I can't help to think that someone has a decimal off by even one. At one off it is still tremendously over bloated and still not believable.

I can't help but wonder how much manpower was involved. If someone had the number of contractors hired for this it would be awesome. I agree with the slate article. If they were anywhere near this amount of code they were doing something really really really really wrong.