News for hackers. Stuff that matters.
Re:Show HN: HTTP/2 HPACK Compression Go Library by mappu on Friday February 19, 2016 @12:37AM (#11131809)
How does this compare to `net/http2/hpack`, now in the standard library?
Re:Show HN: HTTP/2 HPACK Compression Go Library by chrismoos on Friday February 19, 2016 @01:39AM (#11132012)
One of the main differences is this one uses lookup tables for faster decoding of Huffman compressed data as opposed to using a tree (which is what the stdlib one uses). It also offers some additional encoding options for users that want more control of header field indexing.
Re:Show HN: HTTP/2 HPACK Compression Go Library by bradfitz on Friday February 19, 2016 @06:01AM (#11132819)
Yes, let's get your version into Go if it's better.

(I wrote Go's quickly. I've never profiled it, delaying that until Go 1.7, which opened for development yesterday)

Re:Show HN: HTTP/2 HPACK Compression Go Library by chrismoos on Friday February 19, 2016 @10:39AM (#11134049)
If I'd like to get some of the enhancements in there, is this the route to go? https://golang.org/doc/contribute.html
Re:Show HN: HTTP/2 HPACK Compression Go Library by bradfitz on Friday February 19, 2016 @12:35PM (#11134952)
Yup! That documentation is too daunting IMO but it's complete and not many steps, despite all the words. Especially if you're a Go programmer already. (just go get the code review tool)

I'd start with filing a bug against Go to track the overall process.

Re:Show HN: HTTP/2 HPACK Compression Go Library by tshannon on Friday February 19, 2016 @01:23PM (#11135360)
This is why I love open source projects, and shows just how open source Go is.

Fantastic.

Re:Show HN: HTTP/2 HPACK Compression Go Library by Artemis2 on Friday February 19, 2016 @05:48AM (#11132774)
Why not contribute it to the Go projet, if this version is arguably better than the current implementation?
Re:Show HN: HTTP/2 HPACK Compression Go Library by ayanamist on Friday February 19, 2016 @12:47AM (#11131856)
I think this project is written behind closed doors.
Re:Show HN: HTTP/2 HPACK Compression Go Library by bradfitz on Friday February 19, 2016 @06:00AM (#11132816)
Go is developed entirely in the open. I wrote Go's hpack and there are no other Go coworkers in my office.
Re:Show HN: HTTP/2 HPACK Compression Go Library by bketelsen on Friday February 19, 2016 @08:58AM (#11133445)
But do you close your doors sometimes?
Re:Show HN: HTTP/2 HPACK Compression Go Library by bradfitz on Friday February 19, 2016 @12:35PM (#11134960)
:)
Re:Show HN: HTTP/2 HPACK Compression Go Library by ayanamist on Sunday February 21, 2016 @09:49PM (#11148104)
I meaned to chrismoos/hpack but not your standard library.......
Re:Show HN: HTTP/2 HPACK Compression Go Library by leaveyou on Friday February 19, 2016 @08:51AM (#11133414)
I think he meant that about chrismoos/hpack