aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes is javascript going to develop a C-style memory management problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "is javascript going to develop a C-style memory management problem?" Watch "is javascript going to develop a C-style memory management problem?" New topic
Author

is javascript going to develop a C-style memory management problem?

Philip Shanks
Ranch Hand

Joined: Oct 15, 2002
Posts: 189
Since web workers have to be explicitly managed by the developer, I can foresee memory management issues looming on the horizon. Is this a sufficiently worrisome issue, or am I just being paranoid?

- Phil Shanks


Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
Ido Green
author
Greenhorn

Joined: Jul 27, 2010
Posts: 25
I won't say you are paranoid because we've learn in the (short) history of the web that if 'something might break - it will' :)
IMHO, we don't have the same problem as in C because our JS run inside a sandbox in the browser. There are many limitation that the browser enforce us (=web developers) and we've made some progress in areas like CORS: https://mikewest.org/2011/10/content-security-policy-a-primer
It will be interesting to see what are the measurements that browsers will take to make sure this powerful feature won't be abuse.
 
Don't get me started about those stupid light bulbs.
 
subject: is javascript going to develop a C-style memory management problem?