Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

MagLev (software)

From Wikipedia, the free encyclopedia
Ruby interpreter
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
The topic of this articlemay not meet Wikipedia'snotability guidelines for products and services. Please help to demonstrate the notability of the topic by citingreliable secondary sources that areindependent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to bemerged,redirected, ordeleted.
Find sources: "MagLev" software – news ·newspapers ·books ·scholar ·JSTOR
(July 2012) (Learn how and when to remove this message)
This articlemay contain excessive or inappropriate references toself-published sources. Please helpimprove it by removing references to unreliablesources where they are used inappropriately.(July 2012) (Learn how and when to remove this message)
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "MagLev" software – news ·newspapers ·books ·scholar ·JSTOR
(August 2012) (Learn how and when to remove this message)
(Learn how and when to remove this message)
MagLev
DeveloperGemTalk Systems
Initial release2008; 17 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 theRuby programming language built on theGemStone/S virtual machine fromGemTalk 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 forC andSmalltalk 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 likeSmalltalk, offering transparent object persistence[3][failed verification][4] to Ruby objects and classes. Object persistence is based onACID transactions that allow multiple running instances to see a shared object graph. Maglev uses a process-basedconcurrency model, mapping Rubythreads to Smalltalk Processes[5][self-published source?], which arescheduled in theVM asgreen 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 project.[7]

rvm install maglevrvm use maglev

The status can be checked using

$ maglev status

Ruby compatibility

[edit]

Maglev targets Ruby 1.8.7 and runs a significant number ofRubySpec. It supports several C extensions includingNokogiri, JSON andbcrypt.

Gemstone/S resources

[edit]

References

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

External links

[edit]
Implementations
Active
Discontinued
IDE
Applications
Libraries andframeworks
Server software
People
Other


Stub icon

Thisfree and open-source software article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=MagLev_(software)&oldid=1323463149"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp