News for hackers. Stuff that matters.
Re:Show HN: GoWork – A Go Distributed Work Library by StabbyCutyou on Wednesday July 15, 2015 @10:12AM (#9891321)
I notice you're using interfaces to do your handlers, and (forgive me if i'm reading this wrong) casting those interfaces to a specific "type" of function before invoking them.

That seems like it would be inefficient in performance-critical code like a worker system. Have you considered using typed-functions and function pointers to accomplish a similar approach?

That said, I could easily be missing something in the design, so feel free to correct me if I'm wrong.

Re:Show HN: GoWork – A Go Distributed Work Library by ryanskidmore on Wednesday July 15, 2015 @02:30PM (#9893132)
I've resolved this now, thanks :)