Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

Interesting Ruby Tidbits That Don’t Need Separate Posts #20

By Peter Cooper / March 28, 2008

Ruby 1.9 Coming To Symbian OS

David Wood talks about the development of a port of Ruby 1.9 for Symbian OS (as used in many portable devices). The port includes TCP/IP and filesystem access, although GUI-level features are expected to be implemented by third party developers if the interest is there. An initial release is scheduled for April 2008. (Thanks to Jose Marinez for the lead.)

Rubyizumi - Open Source Ruby-Powered RMTP Server

The official site says it best: "RubyIZUMI is an open source RTMP Server for Flash Video/Audio Streaming. It is written in (Pure) Ruby and it supports to broadcast MP4(H.264 + AAC)."

Ruby Inside in Indonesian!

The Indonesian version of the official Ruby homepage is now live, and features translations of Ruby Inside posts! If anyone else is interested in doing the same for their own language, feel free. Good work guys.

Ruby-Processing Continues to Evolve

worm.png

Just a month ago I posted "Using the Processing Graphics System for Ruby" and I've had news that thanks to the interest produced by that post, the Ruby-Processing project is progressing by leaps and bounds. Jeremy Ashkenas writes:

The cross-platform issues were hammered out in short order, support for native libraries was added (so now you can use Ruby to write OpenGL visualizations), fullscreen support has been added, and now, today, there's a new script to export your sketch to an applet. So you can now check out Ruby-Processing sketches in your browser without having to download a thing.

Exhibit A: The WishyWorm demo. Click to toggle translucent backgrounds.

Exhibit B: The Contextual Tree. This one shows off Ruby metaprogramming — it uses a context-free drawing DSL that I've been working on. (Which isn't quite ready for prime time, and so will bork out on you now and again.) Click to generate new trees.

Exhibits C, D, and E: I've also exported the other three demos from the Ruby-Processing download.

This is great news for those who want to play with Ruby, generate graphics, and share the results on the Web.

Sun and University of Tokyo Developing Multiple Virtual Machine Environment for Ruby and JRuby

Sun and the University of Tokyo have announced that they're going to work on developing a "multiple virtual machine environment" for both Ruby and JRuby, enabling multiple programs to run at the same time within the same process. The press release is a month old but skipped my attention as I haven't found any significant mentions of it anywhere else. Verbatim:

A group led by Professor Ikuo Takeuchi at the Graduate School of Information Science and Technology, the University of Tokyo will collaborate with Sun's Tim Bray (Director of Web Technologies) and the members of the JRuby team to implement a multiple virtual machine (MVM) environment on both Ruby and JRuby. The MVM environment is expected to make Ruby programs run more efficiently than was previously possible. The results of the research are scheduled to be open sourced via the broader community of Ruby developers, which could inspire further innovations.

Previously, running more than one application simultaneously on Ruby required multiple interpreters, leading to excessive memory consumption. The proposed MVM environment could generate multiple VM instances on a single interpreter, allowing applications to run more efficiently. The collaborative research aims to clarify such technical issues as the definition of common interfaces for using MVM, parallelization of VM instances and memory sharing, and then to implement technologies that can be used on Ruby and JRuby. While Ruby has already been widely in use in commercial and other environments, the research on MVM will further enhance the performance and utility of Ruby.

The collaborative research is scheduled to continue until the end of September 2009. For the first year, Sun will contribute funding to the research. In addition to the principal researchers from Sun's JRuby team and Professor Takeuchi's group, various other researchers and programmers will be invited to join in this research.

I suspect Rubinius will be a production-ready option by September 2009, but it'll be interesting to see what Sun and the University of Tokyo come up with.

Comments

  1. murphee (Werner Schuster) says:

    @MVM:
    We did story on the Ruby MVM topic over at InfoQ:
    http://www.infoq.com/news/2008/02/ruby-mvm-research

    Rubinius also added MVM support:
    http://www.infoq.com/news/2008/01/rubinius-multi-vm

    I guess the research project is mostly about the API and how to communicate between VMs. Rubinius' implementation uses message passing (copying) between VMs for communications - each VM is a native (OS) thread.

  2. Justin says:

    Yeah, I was going to say... isn't that what Rubinus is doing already?

    Granted, its never bad to have others working on the same tech.

  3. SoftMind says:

    Hi,

    You mean to say that Rubinius will not be ready till september 2009.

    Is this Rubunius project going dead slow...?

    Thanks

  4. Alan Brown says:

    How about calling these posts "Posts which don't need to be a specific size to be enjoyed and do not need to be grouped with other such posts, especially when they get so big one cannot understand why they would be thought of a small"?

Other Posts to Enjoy

Twitter Mentions