Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andyl
· 11y ago · 0 comments
Can anyone post a link to a RubyGem written with a Rust extension??
Comments
[–]
carllerche
11y ago
Here is how we bind the Skylight gem to the Rust bit:
https://github.com/skylightio/skylight-ruby/blob/master/ext/...
[–]
steveklabnik
11y ago
https://github.com/steveklabnik/rust_example
is one way to do it, albiet the most complex one: a thin C wrapper over the Rust, which is then a C extension for Ruby. Easier ones are using FFI or Fiddle.
[–]
vysakh0
11y ago
I think they are referring to this
http://blog.skylight.io/bending-the-curve-writing-safe-fast-...
in the blogpost
[–]
xngzng
11y ago
Here's PyCon2015 talk on how to call Rust from Python:
https://www.youtube.com/watch?v=3CwJ0MH-4MA