Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Philip Shanks
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ido Green
author
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic