ArticleslgStudy

computer science

MagLev (software)

MagLev (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MagLev (software) rather than just read about it. In short: 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.

MagLev (software) — main illustration
MagLev (software) — illustration

Key takeaways

  • MagLev (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MagLev (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MagLev (software) from memory before moving on to harder problems.

Reference excerpt

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.

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, which are scheduled in the VM as green 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.

Installation MagLev is installed with RVM, using the following code snippets, copied directly from the maglev GitHub project.

rvm install maglev rvm use maglev

The status can be checked using

$ maglev status

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 GemStoneS 64 bit 3.1.x Documentation, July 3, 2012, retrieved July 29, 2012

References

External links Fernandez, Obie (May 30, 2008), MagLev is Gemstone/S for Ruby, Huge News, retrieved July 29, 2012 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

Worked examples

Example 1 — a first encounter with MagLev (software)

Start with the simplest possible case. Write down what MagLev (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MagLev (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MagLev (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MagLev (software)

In research
MagLev (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MagLev (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MagLev (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free and open-source software stubs, Free software programmed in Ruby, Software using the MIT license, so understanding it makes those chapters shorter.
In everyday life
Look for MagLev (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “MagLev (software)” →

How to study MagLev (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MagLev (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MagLev (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MagLev (software) in simple terms?

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.

Why does MagLev (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MagLev (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MagLev (software).

Tags

  • Free and open-source software stubs
  • Free software programmed in Ruby
  • Software using the MIT license

Keep exploring