百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

learn-ruby-zeromq

> 编程语言
开源

使用 Ruby 学习 ZeroMQ!

273 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

使用 Ruby 学习 ZeroMQ!

Learn ZeroMQ by Example!

A Work in Progress

If you'd like to help write examples, or if you've found an error, please write me, or fork and patch this repo.

About ZeroMQ

ZeroMQ is one of the simplest and most exciting ways to build high performance, concurrent local and network applications. ZeroMQ uses a sockets style API to make powerful message-based programs fun to build.

Be sure to follow the examples in order, as concepts shown in earlier chapters won't be described later on.

Getting Started

  1. Get a functioning ruby, either jruby (recommended) or 1.9.2. I recommend using rvm to manage multiple rubies
  2. If you're using jruby the ffi gem it comes with will work fine. If using 1.9.2 you MUST install the special ffi gem.
  3. Download and install ZeroMQ from the ZeroMQ download page. ./configure && make && make install
  4. gem install ffi ffi-rzmq zmqmachine. Make sure you have the ffi-rzmq gem >= 0.9.0 . All examples have been updated to use the newer API exposed in ffi-rzmq 0.9.0 and later. If your libzmq version >= 3.2.1, Make sure you have the ffi-rzmq gem >= 0.9.7(you can clone git://github.com/chuckremes/ffi-rzmq.git and build from source), otherwise you will get "Function 'zmq_ctx_set_monitor' not found" error message.

Now you're set! Follow the numbered examples in order, where there are no numbers, there is no order.

Thanks Chuck!

Many thanks to Chuck Remes, author of both ffi-rzmq and zmqmachine for providing the ruby community with these gems, and helping answer my questions. None of this, would have been possible without his efforts.

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言