jaeheum / qzmq Goto Github PK
View Code? Open in Web Editor NEWqzmq provides Q bindings for CZMQ, the high-level C binding for ØMQ
License: Mozilla Public License 2.0
qzmq provides Q bindings for CZMQ, the high-level C binding for ØMQ
License: Mozilla Public License 2.0
qzmq needs a more sensible build/integration mechanism to cover different platforms/versions of kdb+, ØMQ and CZMQ.
Consider the following trivial example:
\l qzmq.q
ctx:zctx.new[]
socket:zsocket.new[ctx; zmq`DEALER]
zsocket.bind[socket; `$"tcp://*:9001"]
zsocket.destroy[ctx; socket]
zctx.destroy[ctx]
\\
This works fine, and you will see the port number printed out to the q console which indicates that the port bound properly. Now notice if you add a semicolon after the bind line:
\l qzmq.q
ctx:zctx.new[]
socket:zsocket.new[ctx; zmq`DEALER]
zsocket.bind[socket; `$"tcp://*:9001"];
zsocket.destroy[ctx; socket]
zctx.destroy[ctx]
\\
Now the bind does not occur. I'm still pretty new to q, but as far as I can tell semicolons shouldn't affect the calls of functions.
BTW this is KDB+ 2.7 2011.03.23 if that helps at all.
add devices support in libzmq api
Just curious. Looks like zthread.fork
is also gone. I can't find the rationale in the repo for removing them.
need to finish translations of examples http://zguide.zeromq.org/page:all
zmq_pollitem_t handling will be less than pretty -- which is why documentation needs to be written.
Because symbols are interned strings, they don't GCed. Symbols are nice in that there can be no accidental mutation but come at a high cost of memory leak.
For both API and users guide.
Either rewrite it or pair with free() as the owner of the pointer.
For the 0MQ Guide as examples are going to be included therein.
e.g. xt==-10h, yt==KC, yt==KG, etc. so that wrong types do not propagate downward to unsuspecting library.
current interface of returning exception feels awkward.
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.