News for hackers. Stuff that matters.

MooMooMooney

Re:Swift architecture at Uber on Wednesday April 26, 2017 @07:58PM (#14208087)
"Lastly, we started combining files, and we found out that combining all of our 200 models into one file decreased the compilation time from 1min35sec, to just 17sec. So we are like, "Hold on, this is interesting, combining everything into one makes it much faster." The reason for this is that, as much as I know, that a compiler does type checking for every single file. So if you spawn 200 processes of Swift compilers, it needs to 200x check all the other files and make sure that you're using the correct types. So combining everything into one makes it much faster. "

Good to know

Re:C is not your friend: sizeof and side-effects on Wednesday April 19, 2017 @05:46PM (#14152090)
C of course is not your friend, C is always computer's friend.
The same for the time in college, I would have more time to explore and unleash myself more, if I don't have to do 1000 assignments a week