Pegarus and Poison: Rubinius VM as a Multi-Language Platform

Brian Ford (Engine Yard)
Ruby
Location: Portland 252
Average rating: ****.
(4.00, 1 rating)

In the past three years, the Rubinius project has evolved from a hobby attempt to implement Ruby using as much Ruby as possible to a full-featured system boasting an extremely fast VM, advanced garbage collector, and LLVM-based profile-driven JIT with run-time type feedback.

As with the Java Hotspot VM, these features make Rubinius an attractive platform for experimenting with implementing other languages.

The Lua programming language is known to have very fast implementation and Lua has been used from the beginning for data processing tasks. LPEG is an implementation of a Parsing Expression Grammar (PEG) using a stack machine. The performance of LPEG is on par with a parser generated by Lex/Yacc for some tasks.

Pegarus is an implementation of the LPEG ideas on the Rubinius platform. Pegarus is used as the parser to implement Poison, a version of _why’s Potion programming language.

This talk will describe Rubinius as a platform for implementation of languages other than Ruby. Details of implementing Pegarus and Poison will be provided. Both these projects are experimental.

Photo of Brian Ford

Brian Ford

Engine Yard

Interested in languages of all types, I currently consider Ruby to be my favorite. My hope with Rubinius is to create the an excellent Ruby implementation that enables us to easily explore and adopt the best features of other programming languages.

  • Intel
  • Microsoft
  • Google
  • Facebook
  • Rackspace Hosting
  • (mt) Media Temple, Inc.
  • ActiveState
  • CommonPlaces
  • DB Relay
  • FireHost
  • GoDaddy
  • HP
  • HTSQL by Prometheus Research
  • Impetus Technologies Inc.
  • Infobright, Inc
  • JasperSoft
  • Kaltura
  • Marvell
  • Mashery
  • NorthScale, Inc.
  • Open Invention Network
  • OpSource
  • Oracle
  • Parallels
  • PayPal
  • Percona
  • Qualcomm Innovation Center, Inc.
  • Rhomobile
  • Schooner Information Technology
  • Silicon Mechanics
  • SourceGear
  • Symbian
  • VoltDB
  • WSO2
  • Linux Pro Magazine

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com

Download the OSCON Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)

OSCON 2.0 Ideas

Have an idea for OSCON to share? oscon-idea@oreilly.com

Contact Us

View a complete list of OSCON contacts