r/javascript • • Oct 11 '17

JavaScript's Promise is Memory Unsafe

https://alexn.org/blog/2017/10/11/javascript-promise-memory-unsafe.html
70 Upvotes

77 comments sorted by

View all comments

38

u/planetary_pelt Oct 11 '17 edited Oct 11 '17

Hmm, yeah, I guess it's surprising.

But your title is annoying. https://en.wikipedia.org/wiki/Memory_safety

Memory leaks like this are totally memory safe. Further, a memory safe language certainly isn't claiming that memory leaks are impossible in it...

People are going to bring this up every time until you change the title.

3

u/alexelcu Oct 11 '17

I changed it, you can do a hard refresh, but I can't seem to change it for this Reddit thread.

2

u/SquareWheel Oct 11 '17

Nope. But the mods can probably add a flair correction to the post if you send them a nice message.