Reply to post: Re: Multi-tasking

Apple hardware priced so high that no one wants to buy it? It's 1983 all over again

ThomH

Re: Multi-tasking

Swift doesn't implement garbage collection any more than C++ does, so that may be your issue.

For automatic handling of heap objects, it uses close logical equivalents of std::shared_ptr and std::weak_ptr, but elevated to being the default semantics and therefore obviating the syntactic burden. Classic Apple stuff: the way they want you to do it is easy, the other ways are absent.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon