Rob Napier

Results 39 comments of Rob Napier

I know you got your answer, but just to add a little: Always try it before you assume it'll be slow. It's often amazing just how fast it is, and...

I think the free functions definitely lower the barrier to entry. We start off with very simple "do this, turtle!" Then we're off the races already drawing cool stuff without...

Is passing jbyteArray GC-safe? (If so, why do we need JString rather than passing jstring?)

Note that the current approach probably can't work for ETH. There are 1e18 Wei in an ETH, and if you try to implement that in an obvious way: ``` public...

A related data race (based on shutdown()) that did not crash (since I didn't try to read the RemoteAddr in this case): ``` WARNING: DATA RACE Read by goroutine 8:...

The crashes are generally in calls to conn.Conn().RemoteAddr(). I'm investigating now whether conn.Conn() can become nil, which may be causing the crash (that should be resolvable in the calling side,...

I went down this same road because I also am working on a large project. The answer after much gnashing of teeth was to put all the files that have...

I'm back a few commits from HEAD. I see baf750dfc0e85d3d73672dbef6ff735f010daf5a, which should help, too. I've got tests cases for my full system (not just the simplified version posted above), so...

Still seeing data races and lockups with 7e7ce93: ``` ================== WARNING: DATA RACE Write by goroutine 13: github.com/SlyMarbo/spdy/spdy3.(*Conn).shutdown() /Users/rnapier/work/agent/src/github.com/SlyMarbo/spdy/spdy3/shutdown.go:100 +0xa59 github.com/SlyMarbo/spdy/spdy3.(*Conn).(github.com/SlyMarbo/spdy/spdy3.shutdown)-fm() /Users/rnapier/work/agent/src/github.com/SlyMarbo/spdy/spdy3/shutdown.go:13 +0x2d sync.(*Once).Do() /usr/local/Cellar/go/1.5/libexec/src/sync/once.go:44 +0xf6 github.com/SlyMarbo/spdy/spdy3.(*Conn).Close() /Users/rnapier/work/agent/src/github.com/SlyMarbo/spdy/spdy3/shutdown.go:13 +0x8d github.com/SlyMarbo/spdy/spdy3.(*Conn).handleReadWriteError()...