Live data from Hacker News

Go and Assembly

doxsey.net

1–10 of 127 posts

Re: Go and Assembly

#2
And herein lies the problem with Go. Seriously, try searching for articles about Go on HN. People always say "well the name isn't a problem, because you just search for it with "golang" instead!" but no one writes golang unless they're pointing out how to search for it. If I was trying to get back to this article a month from now and I searched for "go", would I find it? Probably not, unless I remembered the article title contained the word "assembly", but then I'm matching a search to assembly and not Go.

The name is a problem. And if the name is not a problem, then the community is a problem.

Re: Go and Assembly

#3

And herein lies the problem with Go. Seriously, try searching for articles about Go on HN. People always say "well the name isn't a problem, because you just search for it with "golang" instead!" but no one writes golang unless they're pointing out how to search for it . If I was trying to get back to this article a month from now and I searched for "go", would I find it? Probably not, unless I remembered the article…

I'd imagine Google recognizes you're a programmer and modifies your results for "go" accordingly

Re: Go and Assembly

#5
post #3

And herein lies the problem with Go. Seriously, try searching for articles about Go on HN. People always say "well the name isn't a problem, because you just search for it with "golang" instead!" but no one writes golang unless they're pointing out how to search for it . If I was trying to get back to this article a month from now and I searched for "go", would I find it? Probably not, unless I remembered the article…

I'd imagine Google recognizes you're a programmer and modifies your results for "go" accordingly

It doesn't.

Well, considering how hard I try not to be tracked by Google, probably it does for someone else.

Re: Go and Assembly

#6
Great write-up. As I'm perusing the math/somefeature_arm.s and math/somefeature_amd64.s files in Go's math package, I can't help notice most of them look like this:

http://golang.org/src/pkg/math/remainder_arm.s

That is, very short code that just looks like a function call to me, the complete asm noob. What is it, are all these maths functions implemented in hardware by amd64 and arm architectures? Or is this "asm code" just reverting to calling the Go implementation of the particular function (aka the not really that "optimized")?

Re: Go and Assembly

#7

And herein lies the problem with Go. Seriously, try searching for articles about Go on HN. People always say "well the name isn't a problem, because you just search for it with "golang" instead!" but no one writes golang unless they're pointing out how to search for it . If I was trying to get back to this article a month from now and I searched for "go", would I find it? Probably not, unless I remembered the article…

Would you say the HN search is a "good one"? And who would search for Go just by typing go in a search bar? Would you really do that on Google? I don't even do that for less common words, let alone one like "go". I usually use 3-4 words for my queries, maybe more. Because I have a pretty good idea of what I'm looking for and I don't want to waste time looking into pages of search results to find the relevant article, because I only searched for one word.

Re: Go and Assembly

#8
post #6

Great write-up. As I'm perusing the math/somefeature_arm.s and math/somefeature_amd64.s files in Go's math package, I can't help notice most of them look like this: http://golang.org/src/pkg/math/remainder_arm.s That is, very short code that just looks like a function call to me, the complete asm noob. What is it, are all these maths functions implemented in hardware by amd64 and arm architectures? Or is this "asm co…

In this case there is a 386 implementation:

http://golang.org/src/pkg/math/remainder_386.s

The other two call the go version:

http://golang.org/src/pkg/math/remainder.go

Re: Go and Assembly

#9

And herein lies the problem with Go. Seriously, try searching for articles about Go on HN. People always say "well the name isn't a problem, because you just search for it with "golang" instead!" but no one writes golang unless they're pointing out how to search for it . If I was trying to get back to this article a month from now and I searched for "go", would I find it? Probably not, unless I remembered the article…

Well, I'm glad to hear you don't have any substantial complaints about the language.

What exactly are you searching for? Perhaps I can help you... http://lmgtfy.com/?q=site%3Anews.ycombinator.com+go

Did you even try?

(For those that have experience using Google, the search results are: http://goo.gl/fqNiC )

Re: Go and Assembly

#10

And herein lies the problem with Go. Seriously, try searching for articles about Go on HN. People always say "well the name isn't a problem, because you just search for it with "golang" instead!" but no one writes golang unless they're pointing out how to search for it . If I was trying to get back to this article a month from now and I searched for "go", would I find it? Probably not, unless I remembered the article…

C has a bit of a problem with search as well. There is C, C++ Obj-C and C# which all tend to come up in searches. And that is excluding things that can be avoided with additional key words in searches, such as C the default drive on Windows and C as in City Group.
Post reply on HN