
Things JavaScript Developers Should Know, Part 2 - JSJ 485
JavaScript Jabber
00:00
The Big Three Problems With Heap and Memory Management Languages
The first language to acturally have some sort of garbage collection was actually lisp, as far as i recall. The problem with reference counting is that if you've got circular referencesyo, you're stuck. When youre uriing reference, don'tin. So jaboscript garbage collection actually uses a mechanism called markin sweep. It's semi automatic, it's not wholly automatic. And what the javescript mechanism does - there is no free you don't explicitly release the memory. You just let it go and assume that somebody will clean up for you. Like javascript is really memory intensiv. It uses the heap a lot all the time. But you know, Javascript
Play episode from 14:53
Transcript


