News for hackers. Stuff that matters.
Re:Rust once, run everywhere by andyl on Friday April 24, 2015 @02:11PM (#9435055)
Can anyone post a link to a RubyGem written with a Rust extension??
Re:Rust once, run everywhere by carllerche on Friday April 24, 2015 @02:51PM (#9435324)
Here is how we bind the Skylight gem to the Rust bit: https://github.com/skylightio/skylight-ruby/blob/master/ext/...
Re:Rust once, run everywhere by steveklabnik on Friday April 24, 2015 @02:15PM (#9435072)
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.
Re:Rust once, run everywhere by vysakh0 on Friday April 24, 2015 @02:16PM (#9435082)
I think they are referring to this http://blog.skylight.io/bending-the-curve-writing-safe-fast-... in the blogpost
Re:Rust once, run everywhere by xngzng on Friday April 24, 2015 @11:33PM (#9437089)
Here's PyCon2015 talk on how to call Rust from Python: https://www.youtube.com/watch?v=3CwJ0MH-4MA