~/talk

Using Rust with Ruby

Talkat Ancient City Ruby 2016 · 2016-04-06..04-08· [rust, ruby]
slides:none on file

Shows three concrete integration techniques: a C-extension using extconf.rb plus a small C wrapper that calls Rust functions like hello_rust, fill_slice and num (prints "hello world" twice and returns 5); loading a Rust shared library at runtime with fiddle/DL.open from a Rails app (no compilation hooks needed at runtime); and embedding MRuby via the m_rusty crate to build a single distributable binary. Demonstrations compile with cargo and run successfully.

AI-written summary · about

  1. 0:00Introduction
  2. 5:30Safety Speed Concurrency
  3. 7:33Compilers
  4. 10:13Integration
  5. 11:51Source Code
  6. 12:58Ext Directory
  7. 13:40mkmf
  8. 14:33build
  9. 18:11Binary gems
  10. 22:53Ruby Bug
  11. 23:23Ruby Gems
  12. 24:58Rust Example
  13. 25:37Rails Example
  14. 28:43MRuby
  15. 30:28MRust
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.