Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree with your analysis, but EventMachine does use a defer method to push long-running work off of the event loop.


Defer in Go means something very specific and completely different:

http://golang.org/ref/spec#Defer_statements

http://golang.org/doc/effective_go.html#defer


But EventMachine#defer would make sense in this context, given that the Ruby version is written with EventMachine. That is why I noted it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: