Rust standardizing on libnative is the right move, IMO. The "evented" bits belong in something like Erlang I/O servers /cc @carllerche
@evanphx @charliesome doesn't it work kind of like a GIL, i.e. the goroutine needs to yield?
-
-
@bascule@charliesome A goroutine gets a timeslice and there are checkpoints, yes. And goroutines can migrate between native threads. -
@evanphx@charliesome for a system call or long-running/blocking native call, it needs to yield to the scheduler though, right? -
@bascule@charliesome That's a special case. If a goroutine starts running code the scheduler can't see, it shunts it to special thread.
End of conversation
New conversation -
-
-
@bascule@evanphx@charliesome it used to not be preemptive, no idea if it is now: https://docs.google.com/document/d/1ETuA2IOmnaQ4j81AtTGT40Y4_Jr6_IDASEKg0t0dBR8/edit?pli=1 … -
@fowlduck@bascule@charliesome True, it's got bugs still: http://golang.org/doc/go1.2#preemption …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.