Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tim Bolton
    @ifoundthetao
    What JavaScript implementations were you looking for?
    You mentioned something in the nanomsg mailing list regarding JavaScript, which caught my attention.
    Bent Cardan
    @reqshark
    ditto
    Garrett D'Amore
    @gdamore
    I want to see a pure JS version of the protocols on top of websocket. Suitable for use in the browser.
    Bent Cardan
    @reqshark
    @gdamore what about a gitter chat on the nanomsg repo? maybe we could continue this discussion there? btw I think that's a great idea. How would that be implemented in nanomsg? I could imagine filtering a websocket connection in libnanomsg to extract the javascript protocol signature forwarded over websocket--a relay mechanism to its corresponding nanomsg socket. Does that sound like behavior we get from the tcpmux daemon, or rather nn_ws_device()?
    Garrett D'Amore
    @gdamore
    I’d like to see a gitter chat — I happen to like it better than IRC / freenode.
    as far as the websocket stuff… with mangos today I can serve up websocket just fine. Also, possible (albeit far more limited) to do this with nanomsg itself.
    So what is needed is native JS code to parse protocol specific headers and apply the appropriate semantics.
    E.g. REQ/REP should retry requests, survey should have a timeout, etc.
    Of course, another part of the problem is mapping those semantics to JS specific models. E.g. I think instead of calling “recv” or somesuch, you wind up having a callback routine to handle onrecv events, or somesuch.
    Bent Cardan
    @reqshark
    yep
      ws.on('recv', function (msg) {
        console.log(msg); // Hello from nanomsg!
      });
    Garrett D'Amore
    @gdamore
    right. the thing is, we need to parse off headers, etc. and apply nanomsg semantics.
    Garrett D'Amore
    @gdamore
    i’ve created a gitter room for nanomsg/nanomsg
    rgdaddio
    @rgdaddio
    Hi new to mamomsg. Is it current to the last version of nanomsg? The last few versions of nano I used were "beta" any plans for production ready version?
    Garrett D'Amore
    @gdamore
    actually, mamomsg is kind of defunct at present… because I’ve taken over nanomsg proper.
    I probably should nuke the repo, but I may use this for the “nanomsg-ng” in C that I’m thinking of doing. (This would probably not preserve the same API, or it may offer extended API that would be difficult or impossible to do in nanomsg core.)
    rgdaddio
    @rgdaddio
    Ok thanks I will go stick with nano for now. Looking forward to "nanomsg-ng". And thanks a lot for taking over, much appreciated.