Eric Wong
unread,Jan 7, 2014, 4:52:41 PM1/7/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tony Arcieri, rubini...@googlegroups.com, ruby...@ruby-lang.org, d...@jruby.codehaus.org
(I am not sure how many of the lists you sent to allow cross-posting,
I have not seen this on ruby-core, yet, and I'm not on dev@jruby).
Tony Arcieri <
bas...@gmail.com> wrote:
> There are changes I'd like to see happen before such a standardization
> occurs. However, I'd like to gauge interest about incorporating this sort
> of API into the core of the Ruby language itself before that happens.
>
> What do you all think about incorporating nio4r into Ruby itself?
I am mildly against this, as it would likely hinder the
adoption/evolution of better[1] non-blocking I/O libraries
better-suited for use with multi-threaded applications.
[1] Mainly, exposing one-shot notifications (via EV_ONESHOT and
EPOLL_ONESHOT in kqueue and epoll respectively) to make
multi-threaded programming much easier and safer
(without needing userspace locks, even!).