Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Table of Contents
JRuby participated in the JavaOne Script Bowl 2008 with Groovy, Jython, and Scala. JRuby was represented by Charles Oliver Nutter, Groovy was represented by Guillaume Laforge, Jython was represented by Frank Wierzbicki, and Scala was represented by Jorge Ortiz.
- #1 - Client Application
Write a simple, read-only Twitter client as a desktop app. The Twitter API is documented at http://groups.google.com/group/twitter-development-talk/web/api-documentation. User provides twitter email address and password , then browses friends and their statuses. User can also filter content based on plain text or a regexp. (Our users are geeks.) Your choice whether to use the JSON or XML output from Twitter.
- #2 - Web Application
As a database, we'll use the "world" sample database from MySQL (http://dev.mysql.com/doc/world-setup/en/world-setup.html). The Web Application lets a user browse countries, sorting them using different criteria (e.g. population or GNP), and select cities and display them on a map using one of the many map widgets around, e.g. Google (http://code.google.com/apis/maps/). For geocoding you could use e.g. http://worldkit.org/geocoder/rest/.
- #3 - Free round
Up to you. Show us something your language can do better than any other! But again, be concise.
Charles posted an email on the JRuby list and a blog post on his blog asking for submissions. Because the tasks were quite varied, he wanted to pull in experts from the JRuby community for each category.
There were three Twitter clients submitted, but one was saved for round three:
- Twitbucket, by Thomas Enebo of JRuby team and Sun Microsystems, using the Profligacy GUI framework
- Twit-and-Twitter, by Logan Barnett, David Koontz, and James Britt of Happy Camper Studios, using the MonkeyBars GUI framework for JRuby and NetBeans Matisse for the UI layout
JRuby and Groovy were the highest scorers, but JRuby had a slight lead when all votes were counted.
Only one submission came in for the Rails app:
- "world" application, by Larry Myers of Mapquest
JRuby and Groovy were again the top scorers, with JRuby leading by a similar small margin.
Two submissions were used for the free round, both based on the Ruby-Processing wrapper around the Processing graphics library.
- "space twitter", by Nick Sieger, a flying-through-space 3D twitter client
- A Face for Stephen Hawking, by Jeremy Ashkenas, an audio-sensitive pulsating flock of color-changing globes
JRuby and Groovy again topped the others, but JRuby's entry garnered twice as many votes as Groovy's discussion of Java annotation support.