MagLev (software)
Appearance
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
Developer(s) | VMware |
---|---|
Stable release | 1.0.0
/ October 31, 2011 |
Repository | |
Written in | Smalltalk, Ruby |
Operating system | Unix |
Type | Ruby interpreter |
License | MIT, GPL, others |
Website | maglev |
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
- ^ Phoenix, Evan. Ruby, Concurrency, and You. Engine Yard. http://www.engineyard.com/blog/2011/ruby-concurrency-and-you/