Browse the reference to native nanomsg C API here:
To read about the differences click here.
Getting Started with nanomsg by Tim Dysinger
Simple Smart Sockets by Dirkjan Ochtman
https://github.com/chuckremes/nn-core FFI bindings:
ruby -S gem install nn-core
https://bitbucket.org/kschiess/nanomsg Native bindings:
gem install nanomsg
Finally, if you decide to implement your own language binding check this document.