Hacker News new | ask | show | jobs
by hellofunk 3198 days ago
> Swift guarantees memory safety

But memory leaks are quite easy to do with reference counting which is why Swift has some more complex syntax to prevent strong references. But it can take skill to understand when to use those techniques; the compiler doesn't always find these problems, thus there really isn't the guarantee you mentioned.

1 comments

Memory leaks are not the same as memory safety problems.