Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34795

Re: : Light Weight Channels Lib anybody

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Jan Burse <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: : Light Weight Channels Lib anybody
Date Fri, 8 Jul 2016 19:17:19 +0200
Organization albasani.net
Lines 25
Message-ID <nlon73$5u4$1@news.albasani.net> (permalink)
References <nlnsho$h2n$2@news.albasani.net> <nlohar$aq9$4@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net 4U24Jsw0Jlc09g4ersXIRiU8GEEEbMTQTtTJu8+L0LYuU8NjOU9WGDha/8EZy2hjoDC6uQ21a/oLDmQqvoRYNw==
NNTP-Posting-Date Fri, 8 Jul 2016 17:17:23 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="iTUOWDuwQLWHuYq+nAV1ZEj9lkqR0y7K9MZvwSZOqDjfEibXG55b/7hNotu28jB6w3lFCt6YkN9fcK/6j+8o44LLOw3vEsStjjuJ59BOTT+UcjJ45cqHL42wU22/PW3d"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
In-Reply-To <nlohar$aq9$4@dont-email.me>
Cancel-Lock sha1:M9wHrCsindZiIGZvsDqDNuhMOSo=
Xref csiph.com comp.lang.java.programmer:34795

Show key headers only | View raw


Interesting. Small question before I go deeper in your code, is
your code supposed to be a variant of:
https://docs.oracle.com/javase/7/docs/api/java/nio/channels/Selector.html

Because I consider this not as light weight, rather heavy
weight, since it uses the OS channels. Also delegates to
the OS poll.

I would like to use some very simple home grown pipes(*)
as channels, and don't need to support something else
as channels.

Bye

(*)
http://www.jekejeke.ch/idatab/doclet/blog/en/docs/05_run/01_kernel/misc/Queue.html

Daniel Pitts schrieb:
> I just so happen to have created such a thing myself a while back:
>
> https://github.com/StochasticTinkr/net.virtualinfinity.nio
>
> Note that Golang has different semantics than Java, so you can't do a
> one-to-one translation.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

: Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-08 11:42 +0200
  Re: : Light Weight Channels Lib anybody Daniel Pitts <usenet@coloraura.com> - 2016-07-08 08:36 -0700
    Re: : Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-08 19:17 +0200
      Re: : Light Weight Channels Lib anybody Daniel Pitts <usenet@coloraura.com> - 2016-07-08 10:25 -0700
      Re: : Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-08 19:27 +0200
      Re: : Light Weight Channels Lib anybody Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-07-09 10:41 +0200
        Re: : Light Weight Channels Lib anybody Martin Gregorie <martin@address-in-sig.invalid> - 2016-07-09 10:46 +0000
  Re: : Light Weight Channels Lib anybody j4n bur53 <janburse@fastmail.fm> - 2016-07-09 17:43 +0200
    Re: : Light Weight Channels Lib anybody j4n bur53 <janburse@fastmail.fm> - 2016-07-09 17:44 +0200
      Re: : Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-09 18:17 +0200

csiph-web