Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Architecture  





2 Installation  





3 Ruby compatibility  





4 Gemstone/S resources  





5 References  





6 External links  














MagLev (software)






Türkçe
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


MagLev
Developer(s)GemTalk Systems
Initial release2008; 16 years ago (2008)
Stable release

1.2.0 Alpha 4 / May 17, 2013 (2013-05-17)

Repository
Written inSmalltalk, Ruby
Operating systemCross-platform: Solaris, AIX, Linux, Mac OS X
PlatformGemStone/S
TypeRuby programming language interpreter
LicenseMIT, GPL, others[1]
Websitemaglev.github.io

MagLev is an alternative implementation of the Ruby programming language built on the GemStone/S virtual machine from GemTalk Systems. Much of Maglev was set out to be written in Ruby as much as possible, resulting in some collaboration with the Rubinius project. As of the first beta release, the project runs RubyGems 1.3.5 natively, with support for C and Smalltalk extensions. MagLev has a distinct VM architecture that allows it to share code and data between runtimes and execution cycles through a Ruby API.[2]

Architecture[edit]

Maglev runs inside an image like Smalltalk, offering transparent object persistence[3][failed verification][4] 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[5][self-published source?], which are scheduled in the VMasgreen threads. Using MagLev should yield performance increases when using Ruby, along with allowing Ruby processes over multiple machines to use the same objects at the same time.[6]

Installation[edit]

MagLev is installed with RVM, using the following code snippets, copied directly from the maglev github.[7]

rvm install maglev
rvm use maglev

The status can be checked using

$ maglev status

Ruby compatibility[edit]

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[edit]

References[edit]

  1. ^ "License agreements". raw.githubusercontent.com. Retrieved 2023-02-21.
  • ^ "Distributed Ruby with the MagLev VM - igvita.com". www.igvita.com. Retrieved 21 February 2023.
  • ^ "Programming Guide for GemStone/S 64 Bit Version 1" (PDF), VMware, July 2012, retrieved July 29, 2012
  • ^ "MagLev – Object Persistence with Ruby and Smalltalk" (PDF), Bachelor thesis, Hasso Plattner Institute, July 1, 2013, retrieved February 22, 2014
  • ^ Phoenix, Evan (October 14, 2011), "Ruby, Concurrency, and You", Engine Yard Blog, retrieved July 29, 2012
  • ^ "MagLev Alpha Released: A New, Scalable Ruby Implementation". www.rubyinside.com. Retrieved 21 February 2023.
  • ^ "Get Started with MagLev".
  • External links[edit]


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=MagLev_(software)&oldid=1222166767"

    Categories: 
    Free software programmed in Ruby
    Free and open-source software stubs
    Hidden categories: 
    Articles with topics of unclear notability from July 2012
    All articles with topics of unclear notability
    Products articles with topics of unclear notability
    Articles with self-published sources from July 2012
    All articles with self-published sources
    Articles needing additional references from August 2012
    All articles needing additional references
    Articles with multiple maintenance issues
    All articles with failed verification
    Articles with failed verification from July 2012
    All stub articles
     



    This page was last edited on 4 May 2024, at 09:23 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki