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

6

u/GeorgeForemanGrillz Dec 06 '15

Latest Macbook Pro with 16gb RAM. When did 2 gigs for an IDE ever become an okay thing?

4

u/eternalprogress Dec 06 '15

When the project you're working on produces 1MB+ binaries.

IDEs provide huge amounts of convenience. Central to their ability to do so is keeping a large number of data structures in memory that speak to various attributes of the source code at various stages of compilation.

Take a look at the debug symbols for a large binary. They can reach into hundreds of megabytes. Now account for some duplication and indexing of those symbols to support wicked-quick IDE menus and you start to see how an IDE can have such a large in-memory footprint.

It doesn't explain all the bloat, some of it is simply because of schedule pressure and when 'good enough is good enough' held true, but it certainly puts you in the right ballpark!

1

u/Throwaway_Kiwi Dec 07 '15

I code on a 16GB Macbook Pro, using IDEA. No issues. Where else should an IDE store what it knows about my codebase, which it is storing to help me?

1

u/GeorgeForemanGrillz Dec 07 '15

Code::Blocks doesn't eat up that much either.

1

u/Throwaway_Kiwi Dec 07 '15

It doesn't do that much compared to IDEA, either.

1

u/jcotton42 Dec 07 '15

VS idles at ~480MB for me, and I have lots of extensions, including ReSharper