adellica / chicken-nanomsg Goto Github PK
View Code? Open in Web Editor NEWChicken Scheme bindings for the lightweight ZMQ-alternative nanomsg
Chicken Scheme bindings for the lightweight ZMQ-alternative nanomsg
The nanomsg project and this egg are very interesting to me. I would vote for bundling the library if it is easy to switch between the bundled library and a locally installed library.
I have an application where i was using pub -> sub and pull <- push with zmq. I'd like to try using the nanomsg egg but I'm not clear on what is already supported. Can you publish a road map of sorts? What are you plans for nanomsg?
Could you put together a few more samples to cover the implemented patterns?
Thanks!
Strings sent with nn-send
lose the final null byte.
(define (nn-send socket data #!optional (flags 0))
(nn-assert ( (foreign-lambda int "nn_send" nn-socket blob int int)
socket data (number-of-bytes data) flags)))
that (number-of-bytes data)
should be (+ 1 (number-of-bytes))
if data is a string.
$ csi -s tests/run.scm
Error: (open-input-file) cannot open file - No such file or directory: "sockopts.scm"
...
Perhaps a file wasn't added to the git repository, or there was a setup step I missed?
While learning to use the egg, I noticed that while the README claims that "all of nanomsg's protocols are supported", the pair and bus protocols are not supported. Specifically, the appropriate headers (<nanomsg/pair.h> & <nanomsg/bus.h>) are not included, and NN_PAIR and NN_BUS are not included in the 'nn-protocol' foreign enum type. It's not an urgent matter for me, but I thought I should point out the contradiction.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.