News for hackers. Stuff that matters.
Re:Goals and Priorities for C++ by vips7L on Friday May 22, 2020 @12:42AM (#23268702)
Swift? I didn't know it had much use outside of mac/iOS. It seems like a cool language otherwise.
Re:Goals and Priorities for C++ by _bxg1 on Friday May 22, 2020 @01:25AM (#23268892)
It just recently got official support for Windows and Linux, and it had low-key Linux support for a while before that. I've heard of people writing web servers in it. Like Go, it compiles directly to native machine code.
Re:Goals and Priorities for C++ by vips7L on Friday May 22, 2020 @01:33AM (#23268941)
Isn't it still slower than GO because of referencing counting?
Re:Goals and Priorities for C++ by _bxg1 on Friday May 22, 2020 @02:01AM (#23269080)
Depends what you mean by slow. Go is garbage-collected, Swift is reference-counted. Each has advantages and disadvantages. But also, that doesn't apply to stack-allocated values. It's not as simple as one being faster than the other.