May 05, 2010

The core team behind the JRuby project has been busy. Not only have they created JRuby, they’ve written the definitive book on Using JRuby. If you’re in an enterprise that requires everything to run in the Java VM, JRuby could be a powerful ally.

The May issue of our flagship magazine PragPub is now available, in PDF, epub, mobi, and HTML for your reading pleasure online or off.

Tell your friends! Tweet this

Using JRuby

Using JRuby helps experienced Java hands and Rubyists see what’s on the other side of the fence—and bring the best of Ruby to the broad universe of Java environments.

With JRuby, you can:

  • Run your interpreted or compiled Ruby program in environments where the Java Virtual Machine is a requirement.
  • Treat JRuby as a “better Ruby,” with faster performance for some uses and hassle-free linkage to third-party code.
  • Make your Java program scriptable with Ruby.
  • Build an app on solid libraries written in Java, Scala, Clojure, or other JVM languages.

You’ll learn how to call Java code from Ruby, and vice versa. You’ll gain first-hand experience with dozens of JRuby’s most common uses, from running web sites to building GUIs. And you’ll see how it’s all put together under the hood.

JRuby lets you merge the best of several possible worlds, so you can create unique software using the best tools available.

Now in beta from pragprog.com/titles/jruby

PragPub Issue #11

In The Pragmatic Programmer, Dave and Andy recommend learning a new programming language every year. In Seven Languages in Seven Weeks, Bruce Tate cranks the challenge up several notches.

Why would you want to take on Bruce’s challenge? Well, he points out that by learning several languages one right after another, you have an unparalleled opportunity to compare them side-by-side, which can be highly enlightening. You might even learn how to learn a language, so that the next time you’ll be able to get to competence quickly and efficiently.

That’s the premise of Bruce’s book, but the tricky part for the author is that he also has to learn seven languages in a very short time, and learn them well enough that he can teach them. Well enough that he can devise good example programs that capture the unique aspects of each language, that are challenging enough to provide a good learning experience, and that run error-free.

Also in this issue are an article by Brian Tarbox that advocates teaching student programmers with unfair assignments, another history feature by Dan Wohlbruck, and an essay on the virtues of mockery by Noel Rappin.

Now available in PDF, epub, mobi, and HTML for your reading pleasure online or off from pragprog.com/magazines

Coming Soon:

  • The Agile Samurai
  • Test-Drive ASP.NET MVC
  • The Pragmatic Guide series

Recently Released:

Thanks for your continued support,

Andy & Dave
www.PragProg.com