Live data from Hacker News

Interacting with ZeroMQ from the browser

avalanche123.com

11–20 of 28 posts

Re: Interacting with ZeroMQ from the browser

#11
post #8

Earlier quoted context omitted.

Hi, the author is not twelve and he in fact is quite known in Python community. I'll ping him about missing license.

To wit, useful READMEs are useful. Make use of that fact, please.

Yup, I'm sure that will get updated

Re: Interacting with ZeroMQ from the browser

#12
post #2

Neat. I've wanted ZeroMQ in my browser. I checked the README file for a license, but instead it says "ZeroMQ in your brower, yo!" Which tells me that: 1. I can't use it. 2. The author is 12. 3. It probably doesn't work.

and it's written with noobish coffeescript and cakefiles :s

Re: Interacting with ZeroMQ from the browser

#13
post #2

Neat. I've wanted ZeroMQ in my browser. I checked the README file for a license, but instead it says "ZeroMQ in your brower, yo!" Which tells me that: 1. I can't use it. 2. The author is 12. 3. It probably doesn't work.

and it's written with noobish coffeescript and cakefiles :s

Haha, I know you don't like coffeescript, so I wrote clone client library for demo in pure JS - https://github.com/progrium/nullmq/blob/master/demos/presenc...

Re: Interacting with ZeroMQ from the browser

#14
post #4

"ZeroMQ’s actual C library (libzmq) is just an implementation detail." That's a spot on. It doesn't really matter whether you are using ZeroMQ, NullMQ or raw HTTP. It's like OO-programming: You can write OO program in any language. Same way, you can do distributed messaging on top of any transport layer.

Not that it matters much, but ZeroMQ is written in C++, while exposing "C" only interface, and then additionally there is a C++ binding to this "C" interface, which IMHO is very robust design (C for API is much easier to access from other langs).

Re: Interacting with ZeroMQ from the browser

#15

Earlier quoted context omitted.

and it's written with noobish coffeescript and cakefiles :s

Haha, I know you don't like coffeescript, so I wrote clone client library for demo in pure JS - https://github.com/progrium/nullmq/blob/master/demos/presenc...

it just looks like js generated with coffeescript.. not really the same thing

Re: Interacting with ZeroMQ from the browser

#16
post #14
post #4

"ZeroMQ’s actual C library (libzmq) is just an implementation detail." That's a spot on. It doesn't really matter whether you are using ZeroMQ, NullMQ or raw HTTP. It's like OO-programming: You can write OO program in any language. Same way, you can do distributed messaging on top of any transport layer.

Not that it matters much, but ZeroMQ is written in C++, while exposing "C" only interface, and then additionally there is a C++ binding to this "C" interface, which IMHO is very robust design (C for API is much easier to access from other langs).

You are right, however C bindings in other languages usually look quite ugly and non-idiomatic, but ZeroMQ did great job in that sense and their higher level language bindings are written with language specifics in mind

Re: Interacting with ZeroMQ from the browser

#17

Earlier quoted context omitted.

Haha, I know you don't like coffeescript, so I wrote clone client library for demo in pure JS - https://github.com/progrium/nullmq/blob/master/demos/presenc...

it just looks like js generated with coffeescript.. not really the same thing

heh, best I can do yet

Re: Interacting with ZeroMQ from the browser

#19
post #2

Neat. I've wanted ZeroMQ in my browser. I checked the README file for a license, but instead it says "ZeroMQ in your brower, yo!" Which tells me that: 1. I can't use it. 2. The author is 12. 3. It probably doesn't work.

I updated it to be slightly more useful.
Post reply on HN