~/talk

My Little C Extension: Lego Robots are Magic

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]
slides:none on file

Shows how to create a Ruby C extension to control Lego Mindstorms robots, covering basic C-extension building and exposing robot functionality through a Ruby DSL for teaching kids to drive the robots. Demonstrates inspecting and modifying Ruby internals via C to enable the robot control features.

AI-written summary · about

  1. 0:00Start
  2. 0:19Welcome to the Fringe Ruby track.
  3. 3:39Programming
  4. 6:24Distraction ROI
  5. 14:131. Create a gem
  6. 14:28Lay filesystem groundwork
  7. 15:21Specify Ruby API
  8. 16:04Write first wrapper
  9. 17:55Object-oriented C
  10. 18:114. Build gem & experiment
  11. 19:39Of course!
  12. 22:26NAMESPACE ALL THE THINGS!
  13. 22:49Prefix C method helpers for easy identification
  14. 23:07Putting it together
  15. 26:03C Ext Cheat Sheets
  16. 26:52Motors spin!
~/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.