Re:On Apple's Love Affair with Swift
by douglaswlance on Saturday August 11, 2018 @09:10AM
(#17739535)
Javascript is not a good choice. It's both verbose and unsafe.
[ Parent
| on HN ]
Re:On Apple's Love Affair with Swift
by staticassertion on Saturday August 11, 2018 @09:26AM
(#17739583)
Javascript meets the 'safe' definition in the article - memory safe.
Re:On Apple's Love Affair with Swift
by spunker540 on Saturday August 11, 2018 @10:27AM
(#17739792)
It’s still fairly easy to have subtle memory leaks in JavaScript code due to the way closures can keep variables in scope indefinitely.
https://blog.meteor.com/an-interesting-kind-of-javascript-me...
Memory leaks are memory safe, or, at least, don't lead to memory corruption like other violations of memory safety. https://huonw.github.io/blog/2016/04/memory-leaks-are-memory...