News for hackers. Stuff that matters.
Re:Welcome Chris Lattner by devsquid on Tuesday January 10, 2017 @08:22PM (#13370974)
Do you use Swift at all?

-edit- I meant it as a serious question. But the person who responded to me sums up the issues.

Re:Welcome Chris Lattner by chris_7 on Tuesday January 10, 2017 @08:42PM (#13371059)
This is downvoted presumably for lack of information, but it's pretty much true.

The Swift compiler segfaults very frequently. I do find this amusing in that it's the compiler for a theoretically largely-memory-safe language (yes the compiler is written in C++, it's still funny). The syntax highlighter in Xcode, which is driven by the same stuff, also crashes, which breaks autocompletion and even indentation. Using Xcode, you just have to get used to it. It frequently reports the wrong error message - just something that isn't even close to related. Sometimes object files just become 0 bytes and you either need to clean (and experience the Swift compiler's blazing performance again) or go and modify that file so that the incremental compiler will pick it up.

I've found most of these to be triggered by using a lot of closures and possibly type inference. Shaking out the incorrect errors or segfaults is... not fun.

Re:Welcome Chris Lattner by nodamage on Wednesday January 11, 2017 @02:06AM (#13372313)
The most annoying one is the incremental compiler is broken under Xcode 8, leading to full recompiles every time a line of code is modified.

https://forums.developer.apple.com/thread/62737?start=0&tsta...

Re:Welcome Chris Lattner by devsquid on Tuesday January 10, 2017 @08:52PM (#13371107)
Oh? I meant it as a srs question. I wasn't sure what parts I should include. But thanks for essentially saying most of it.

I should mention I also find the community to be sorta toxic. They are so focused on Swift being the one language to rule them all and they use terms like "Swifty".

Re:Welcome Chris Lattner by pjmlp on Wednesday January 11, 2017 @12:43AM (#13372040)
All language communities do that.
Re:Welcome Chris Lattner by devsquid on Wednesday January 11, 2017 @03:51AM (#13372637)
I get your point, programming language communities all have a certain level of fan-boyism. However I find Swift's community to be particularly abhorrent. I stopped partcipating when people started to ask if certain codes is "Swifty" and people would judge the merit of something on whether its "Swifty". It also got tiring with how militant they were with other programming languages, especially Java.
Re:Welcome Chris Lattner by pjmlp on Wednesday January 11, 2017 @05:20AM (#13372954)
Re:Welcome Chris Lattner by 72deluxe on Wednesday January 11, 2017 @06:47AM (#13373267)
Yes I can agree with these.

I wonder if we'll have refactoring in Xcode for C++ now Lattner has gone. I wonder why they never added it.