Ruby Weekly News: 08/05/2002
A summary of activity on the ruby-talk mailing list, brought to you
this week by Holden Glova.
Linux Devices for Ruby 0.1.1
Mathieu Bouchard has released a new version of his Linux
Devices for Ruby. Get Linux Devices for Ruby().
Paul Rubel has released a new version of FormatR. FormatR is a
Ruby version for perl-like formats(). Get FormatR().
Tom Sawyer has initiated what he believes will be the ultimate
GUI API. The ultimate GUI has been the topic of much discussion
over the last year I have been a part of the Ruby community, as
a result of that discussion the RogueProject() emerged. Tom
Sawyer has decided to try and take this further. He has put
together a plan, and is welcoming discussion on this idea. Find
out more about GUITopia().
Alternate Ruby Implementations
Justin Johnson started an interesting thread around the subject
of implementing alternate Ruby implementations while still
conforming to the “spec”. This sparked the interest of David
Alan Black about what exactly is the Ruby spec? Some discussion
was had about this question, along with what the goal of an
alternate implementation might be, and a long standing wish in
the Ruby community for named method parameters. Great thread.
Ruby and OCaml
A veteran to the Ruby community has returned to -talk after a
long journey into the mystic realm of OCaml. MikkelFJ sort of
compares and constrasts differences between Ruby and OCaml from
a very objective standpoint.
Embed or SWIG?
With Ruby it is easy to talk with C/C++ code. Some people such
as Phil Tomson have said they use Ruby to unit test their C++
code by providing a Ruby/C wrapper around their C++ code. Phil
Tomson asked if it would make sense to wrap up all your C++
objects so they can be used in Ruby. Others have posted that
they generally program it in Ruby, if speed is an issue, the
extract the bottleneck out into C/C++ and wrap it up with a
Ruby/C wrapper. The result of the thread was that Phil has a
good idea and others are also using this technique with good
success. SWIG() was also mentioned as the recommended way to
quickly create Ruby/C wrappers.