Earlier quoted context omitted.
Back around 1990 I had a class /16 and I was just a 14 year old. Before the web explosion it was a different time. Domains used to be free back then too!
Eeek, the "C" in CIDR stands for classless, so it is either a Class B or a /16 not a "class /16" Also, it is highly unlikely that you had a /16 as a PI allocation even in 1990.
Apple might be running a web crawler written in Go
71–80 of 85 posts
Re: Apple might be running a web crawler written in Go
#72Earlier quoted context omitted.
"I like X, but i fail to see why Y and Z don't fit the bill as well." Try repeating your point for any order of X, Y and Z, and you might realize it isn't really a valid reason for them to have used Swift or C++ instead.
Apple owns C++ and Swift compilers.
Anyway, onto your current stance. That Apple don't use Swift or C++ for their spider seems to indicate that the benefit of using Go outweighs the benefit of using a language they own the compiler for. Go has a BSD-style license, so as far as Apple implementing their own changes and doing whatever they want with the source code and their own binaries at will goes, they might as well have owned it. Go is also seems like a no-brainer choice for a web spider since it has concurrency modeled in such a straight forward and cruft free way.
Re: Apple might be running a web crawler written in Go
#73Earlier quoted context omitted.
Back around 1990 I had a class /16 and I was just a 14 year old. Before the web explosion it was a different time. Domains used to be free back then too!
Eeek, the "C" in CIDR stands for classless, so it is either a Class B or a /16 not a "class /16" Also, it is highly unlikely that you had a /16 as a PI allocation even in 1990.
Re: Apple might be running a web crawler written in Go
#74Earlier quoted context omitted.
Eeek, the "C" in CIDR stands for classless, so it is either a Class B or a /16 not a "class /16" Also, it is highly unlikely that you had a /16 as a PI allocation even in 1990.
Your nick is deliberately obscene. I'm not a prude, but it doesn't fit the tone of the site.
Re: Apple might be running a web crawler written in Go
#75Earlier quoted context omitted.
So are Python and Ruby, but most people will agree that those are unsuitable for certain types of highly concurrent and performance sensitive network applications. Using the right language for a particular domain can save you a lot of headache. Go is open source and a relatively proven choice, compared to Swift.
Python and Ruby aren't a suitable comparison, because they lack AOT compilers to native code as part of their canonical implementation, which is not the case for Swift. As for access to the language implementation, Swift is Apple's creation.
I'm not trying to tell you that you are wrong. I'm just saying that your reasoning is flawed, and your arguments don't really support any particular conclusion. "Swift is a general purpose language." - OK? "I fail to see what it lacks." - Noted.
Let's only compare with native, canonically AOT compiled, general purpose languages, though. All of a sudden there are a lot of questions. Why didn't they write it in C? Why didn't they write it in Delphi? Fortran? Forth? The answer is of course that beyond being a native, canonically AOT compiled, general purpose language, different languages have different constructs and models of particular patterns that make them more or less useful for different kinds of tasks and development models.
Apple seemingly recognized that Swift was less useful than Go for the particular task at hand, and while we can't really know for sure if this was a matter of performance, development speed, personal preference of the developers etc, we can probably assume that the choice was based on taking several such quality dimensions into consideration.
Re: Apple might be running a web crawler written in Go
#76Earlier quoted context omitted.
Well, it'd be pretty weird if Go-ogle started developing their applications in Swift.
I'd be surprised if they didn't use Swift for their iOS apps.
Re: Apple might be running a web crawler written in Go
#77Earlier quoted context omitted.
Well, it'd be pretty weird if Go-ogle started developing their applications in Swift.
Actually, google does a lot of iOS development and has dozens of shipping iOS apps ( https://itunes.apple.com/us/artist/google-inc./id281956209 ), and thus has a pretty sizable community of Objective C programmers. So Google will almost certainly be shipping apps containign Swift code as soon as the tools stabilize enough for them to do so.
Re: Apple might be running a web crawler written in Go
#78Earlier quoted context omitted.
Eeek, the "C" in CIDR stands for classless, so it is either a Class B or a /16 not a "class /16" Also, it is highly unlikely that you had a /16 as a PI allocation even in 1990.
Your nick is deliberately obscene. I'm not a prude, but it doesn't fit the tone of the site.
Re: Apple might be running a web crawler written in Go
#79You can solve this by (ab?)using the CheckRedirect functionality of http.Client to set the User-Agent again.
Here's an example: https://github.com/lifeforms/httpcheck/commit/07440d952d1660... (The program is nothing special, just a little thing I use internally for monitoring)
Re: Apple might be running a web crawler written in Go
#80Not at all sure why it's relevant which programming languages they use at Apple. Is this considered interesting since it somehow proves the mainstream adoption of Go? Or since Apple, a competitor of Google's in cell phones, are using one of Google's technologies? Or what? The takeaway for me was that Apple has a whole /8 subnet to themselves. That's just ... immense, for a single company. Gaah. EDIT: Mis-typed the ne…
Back around 1990 I had a class /16 and I was just a 14 year old. Before the web explosion it was a different time. Domains used to be free back then too!