News for hackers. Stuff that matters.
Re:Evio – Fast event-loop networking for Go by wyager on Saturday November 04, 2017 @04:07PM (#15626655)
FYI, this is not unique to Go. A number of languages implement lightweight threads in the same way (roughly), like erlang or Haskell. It’s all epoll or other efficient polling primitives under the hood.
Re:Evio – Fast event-loop networking for Go by weberc2 on Saturday November 04, 2017 @08:57PM (#15627637)
I'm of the impression that there's an important difference between Go and Haskell's models--namely that Go is M:N threaded and Haskell is not; however, I don't entirely understand the significance of the difference, so hopefully someone else can comment and enlighten me.
Re:Evio – Fast event-loop networking for Go by joel_ms on Sunday November 05, 2017 @02:20AM (#15628514)
Are you sure about Haskell not having m:n threads? Because it's seems weird, considering GHC is listed as one of a few examples on wikipedia: https://en.m.wikipedia.org/wiki/Thread_(computing)#M:N_.28hy...
Re:Evio – Fast event-loop networking for Go by weberc2 on Sunday November 05, 2017 @09:07AM (#15629429)
No, I'm not sure. :) I may have incorrectly assumed that the definition of M:N threads includes movable application threads (e.g., Go's scheduler can move goroutines from one kernel thread to another).