News for hackers. Stuff that matters.
Re:Go vs. Swift [pdf] by blario on Wednesday January 18, 2017 @06:11PM (#13431382)
Very basic comparison. Doesn't go into the quality of the generated code, compiler speed or efficiency, etc.
Re:Go vs. Swift [pdf] by jakerockland on Wednesday January 18, 2017 @08:45PM (#13432265)
This definitely is a basic comparison. If you didn't see in the readme, this was a paper for a course I took and definitely has a lot of areas that could use more elaboration or detail. There are some open issues for things I'd like to add at some point when I have the time, feel free to open new issues if there are other things you think are missing!
Re:Go vs. Swift [pdf] by melling on Wednesday January 18, 2017 @07:54PM (#13431996)
I would hope that Go is better in all of the above. It has been available for much longer, and it's supported by a great team.

I want to know how the languages compare for writing code. Dos one make it easier to write more succinct and correct code? Swift is missing concurrency support until at least the next version, for example.

Re:Go vs. Swift [pdf] by ridiculous_fish on Wednesday January 18, 2017 @11:40PM (#13433057)
Go's compiler emits naive code quickly. For example, parameters are always passed on the stack.

Swift is built atop LLVM, and it emits code more slowly, but supports many optimizations like hoisting, vectorization, etc. that Go does not currently perform.

Re:Go vs. Swift [pdf] by kazagistar on Thursday January 19, 2017 @12:23AM (#13433248)
I'm not sure, Go code isn't all that fast.