Jump to content

MagLev (software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jc00ke (talk | contribs) at 17:36, 29 July 2012 (Adding concurrency explanation & ref to Evan's blog post.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

MagLev
Developer(s)VMware
Stable release
1.0.0 / October 31, 2011 (2011-10-31)
Repository
Written inSmalltalk, Ruby
Operating systemUnix
TypeRuby interpreter
LicenseMIT, GPL, others
Websitemaglev.github.com

MagLev is an alternative implementation of the Ruby programming language built on the GemStone/S virtual machine from GemStone Systems.

Architecture

MagLev runs inside an image like Smalltalk, offering transparent object persistence to Ruby objects and classes. Object persistence is based on ACID transactions that allow multiple running instances to see a shared object graph. MagLev uses a process-based concurrency model, mapping Ruby threads to Smalltalk Processes[1], which are scheduled in the VM as green threads.

Ruby Compatibility

MagLev targets Ruby 1.8.7 and runs a significant number of RubySpec. It supports several C extensions including Nokogiri, JSON and bcrypt.

External Links

  • Taft, Darryl K. (June 6, 2008), "MagLev Rocks the Ruby House", eWeek, retrieved July 29, 2012
  • Grigorik, Ilya (January 15, 2010), Distributed Ruby with the MagLev VM, retrieved July 29, 2012
  • Schuster, Werner (November 15, 2011), "NoSQL OODB with Smalltalk-based Ruby VM: MagLev 1.0 Released", InfoQ, retrieved July 29, 2012

Notes