News for hackers. Stuff that matters.
Re:Porting dl.google.com from C++ to Go by IzzyMurad on Friday July 26, 2013 @04:58PM (#6110548)
Too many Google employees in Hacker News trying to advocate Go...
Re:Porting dl.google.com from C++ to Go by tptacek on Friday July 26, 2013 @05:16PM (#6110644)
Yes. Nobody here wants to learn how Brad Fitzpatrick reasons about, designs, and implements server software. It's all spam.
Re:Porting dl.google.com from C++ to Go by drhayes9 on Friday July 26, 2013 @05:18PM (#6110655)
Second this. One of my favorite things is getting a slice, however small, of how truly great programmers get their work done, why they chose what they did, and what the results were.

We actually need more of this on HN, not less.

Re:Porting dl.google.com from C++ to Go by ballard on Friday July 26, 2013 @08:30PM (#6111330)
This doesn't reveal any secrets into systems engineering, but it slices:

    package main

    import "fmt"
    
    func main() {
        cake := make([]byte, 2600)
        copy(cake, []byte("Happy Birthday, Lundberg !"))
        lundberg := cake[:8]
        milton := cake[:0]
        fmt.Println("Lundberg got :", string(lundberg))
        fmt.Println("Milton got :", string(milton))
    }

    // :-)  (Ran out of UTF8 smileys and movie fact checkers).
    // And yes could've used string but bytes are awesomer.
Re:Porting dl.google.com from C++ to Go by pjmlp on Sunday July 28, 2013 @02:03AM (#6115785)
Slices aren't Go specific.
Re:Porting dl.google.com from C++ to Go by ballard on Friday July 26, 2013 @09:07PM (#6111417)
Browsing the go goog client source is 30% of it. Go and others could use screencasts of how they fixed production problems, regardless of what lawyers, job security worriers or "hide the dust" folks would say. Mindset is best communicated by solving something real.

http://code.google.com/p/google-api-go-client/source/checkou...

Re:Porting dl.google.com from C++ to Go by eliben on Friday July 26, 2013 @10:49PM (#6111692)
Totally. We should spend more time speculating about every move of Snowden and examining every new piece of fluff in the media about the NSA; linking to actually interesting programming-related content is so 2012.
Re:Porting dl.google.com from C++ to Go by pjscott on Friday July 26, 2013 @09:56PM (#6111560)
Are you speculating about a conspiracy? Or just voicing some vague, unfocused resentment?
Re:Porting dl.google.com from C++ to Go by IzzyMurad on Friday July 26, 2013 @10:12PM (#6111608)
speculating a conspiracy.
Re:Porting dl.google.com from C++ to Go by gillianseed on Saturday July 27, 2013 @12:16AM (#6111873)
I have no affiliation with either Google or Mozilla but I pretty much always upvote articles concerning Go and Rust simply because I'm interested in those languages and want to encourage more articles about them to be posted.
Re:Porting dl.google.com from C++ to Go by danieldk on Saturday July 27, 2013 @05:03AM (#6112303)
At some point there were quite many Go articles without much substance. These articles were also very predictable. The positive articles contain pretty much the same enumeration of Go features (goroutines, channels, imports, etc.) or how they rewrote a five year old, now well-understood, failing Python subsystem in Go and have massive improvements (surprise). The negative articles pretty much all complained about how not using an import results in a compilation error (surprisingly, the lack of generics are only mentioned in comments ;)).

But these slides were genuinely interesting to pretty much the whole HN audience: it covers architecture decisions, the effect of code rot, the breadth of the Go standard library, a new object caching system, and a real-world example of Go usage.

tl;dr even to someone who is a bit critical towards Go (ie. me), it was a very interesting read.