MagLev (software)

From Wikipedia, the free encyclopedia
MagLev
Developer(s) VMware
Stable release 1.0.0 / October 31, 2011 (2011-10-31)
Written in Smalltalk, Ruby
Operating system Unix
Type Ruby interpreter
License MIT, GPL, others[1]
Website maglev.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[2] 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[3], 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.

Gemstone/S Resources

References

  1. https://raw.github.com/MagLev/maglev/master/Licenses/README.txt
  2. "Programming Guide for GemStone/S 64 Bit Version 1", VMware, July 2012, retrieved July 29, 2012 
  3. Phoenix, Evan (October 14, 2011), "Ruby, Concurrency, and You", Engine Yard Blog, retrieved July 29, 2012 

External links


This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.