Skip to content

Comment on You're Using JSON, Why not MessagePack?parent

Comments

> Is there a Ruby module with no C extension?

Why is the "with no C extension" part important to you?

This is important if you want to use JRuby.

Exactly! Also IronRuby. Or MRI on Windows for a lot of extensions, which just won't build there.

There's a protobuf java library.

And a jruby messagepack library

By the way, there is a pure ruby version, not sure why you'd use it over the cext though:

https://github.com/hiroshinakao/msgpack-pure

JRuby. Windows, if you don't have the compile stuff installed.

This could be alleviated with Ruby FFI on top of a really good C implementation, but FFI is tricky.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.