Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
On adding a "free" operator to JavaScript (mail.mozilla.org)
3 points by jashkenas on Oct 31, 2012 | hide | past | favorite | 1 comment


here's my thoughts... this sounds more like a bug in the specific js runtime to me (are there the same problems in v8?) why not just alter 'delete' to work how the author describes so that delete explicity undefines out the reference so it can be GC'd? I think the idea of allowing js to worry about memory is probably not a good one as 'free' seems to suggest.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: