crystal-community / zeromq-crystal Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Does this library work with crystal's evented IO? i.e. Switching to other fibers when reading is blocked, or does it only provide Poll?
In your Publish - Subscribe example if I change #52
topic, body, identity = s4.receive_strings
script hangs up
I am running Crystal 0.35.1 on Arch.
I cloned this repository and ran each of the examples. The following files hang on my machine after printing their startup logs.
async_client_server.cr
push_pull.cr
The same is true of the example in README.md
. I also tried installing the shard and using require "zeromq"
; the same examples did not work.
The other examples all work fine. I'm sorry I can't offer any actual debugging yet but I'm new to 0MQ, let alone this library.
It's throwing a error: Maybe a commit, branch or file doesn't exist?
Need ZMQ::Poller.deregister
method.
( I will add this, posting as reminder to self. )
There was a breaking change in 0.33.0
of Crystal
, at first glance revolving around #each
being an undefined method on Crystal::ThreadLocalValue(Crystal::Event)
in #close
of ZMQ::Socket
I tried adding apk add zeromq-dev
but the build still complains about -lzmq during the compilation stage.
There is a problem using latest crystal:
Unable to satisfy the following requirements:
crystal (< 1.0.0)
required byzeromq 0.3.0+git.commit.d6d25ace3376aa0f36a6432ed88d35930d3640fb
Failed to resolve dependencies, try updating incompatible shards or use --ignore-crystal-version as a workaround if no update is available.
ctx = ZMQ::Context.new
sock = ZMQ::Socket(String).new ctx, ZMQ::REP
This would result in compile error for any send receive operation as String do not implement address
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.