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

8

u/GeorgeForemanGrillz Dec 06 '15

not using windows not needing 2 gigs of RAM productivity

4

u/Throwaway_Kiwi Dec 06 '15

Are you coding on a low-end cellphone or something?

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!