This version of Vestibule is read only. It represents an archive of the community effort to produce content for Ruby Manor 4.

UNIX programming in Ruby: A case study

updated over 7 years ago; latest suggestion over 7 years ago

This proposal has been withdrawn...

I've written a non-trivial UNIXy thingywhat in Ruby. It's been an interesting experience and I've learned a bunch of things along the way. And dealt with some crazy bugs. So this talk would basically be a case study. I think there's plenty of potential for things to talk about, but I'd be interested to know if people want:

  • A high level view of UNIX programming stuff (sockets, processes, signals, etc), using examples from my program OR
  • In in-depth look at certain areas of my program, getting into the gnarly (but perhaps boring?) details, OR
  • A step-by-step study of how my program works, with a focus on the UNIXy details OR
  • None of the above the whole thing sounds crap! :D


  • The proposal author responds over 7 years ago

    Hi folks, thanks for the useful feedback. I'm afraid I've withdrawn the proposal as after having a bit of a think I've realised that I don't have lots of time to put into this. I made the proposal on somewhat of a whim, half-hoping that it wouldn't be accepted, so I should just own up and say that I'm not sufficiently motivated to do it :)

    Luckily there are a tonne of other great talks proposed :)

  • E257c5fb15b33c01a4c9373ccb549c87 Tim Ruffles suggests over 7 years ago

    I'd love to hear about some nitty gritty stuff in UNIX - process management, how things like daemontools work, etc.

  • 6daf61686c049959796c9358c39ec771 Harry Marr suggests over 7 years ago

    I certainly think this should be pitched at an advanced level. Two topics that could do with attention are:

    • Well behaved long-running processes. This means responding to signals properly, logging (stdout vs stderr, syslog).
    • IPC. TCP sockets vs named pipes. Use of socketpair when spawning subprocesses.

    Unicorn is a great example of UNIX programming done (mostly) right in Ruby, you could compare it with your program to find issues that crop up frequently.

  • Be3698f145a80c1230fd667c87d0f0c8 Tom Stuart suggests over 7 years ago

    I'd expect most of the audience to have a basic familiarity with UNIX programming, so it would be interesting to hear about how the program works as a whole and how UNIX & Ruby work together to make that happen.

  • 35773545c3bb885b42cc24ccc0d1c666 ntlk suggests over 7 years ago

    Personally I'd be interested to hear about approaches to designing CLI interfaces, and how sockets, processes etc. are handled with Ruby. Are there things that Ruby is particularly good for?