ArticleslgStudy

computer science

Tamarin (software)

Tamarin (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 Tamarin (software) rather than just read about it. In short: Tamarin is a discontinued free software virtual machine with just-in-time compilation (JIT) support intended to implement the 4th edition of the ECMAScript (ES4) language standard. Tamarin source code originates from ActionScript Virtual Machine 2 (AVM2) developed by Adobe Systems, as introduced within Adobe Flash Player 9, which implements ActionScript 3 scripting language.

Key takeaways

  • Tamarin (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 Tamarin (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Tamarin (software) from memory before moving on to harder problems.

Reference excerpt

Tamarin is a discontinued free software virtual machine with just-in-time compilation (JIT) support intended to implement the 4th edition of the ECMAScript (ES4) language standard. Tamarin source code originates from ActionScript Virtual Machine 2 (AVM2) developed by Adobe Systems, as introduced within Adobe Flash Player 9, which implements ActionScript 3 scripting language. ActionScript Virtual Machine 2 was donated as open-source to Mozilla Foundation on November 7, 2006, to develop Tamarin as a high-performance virtual machine, with the support from broad Mozilla community, to be used by Mozilla and Adobe Systems in the next generation of their JavaScript and ActionScript engines with the ultimate aim to unify the scripting languages across web browsers and Adobe Flash platform and ease the development of better performing rich web applications.

Tamarin and Mozilla The source code, including the just-in-time compiler and conservative garbage collector, was donated to the Mozilla Foundation on November 7, 2006. The contributed code is tri-licensed under the GPL, LGPL, and MPL licenses to be developed in Mozilla's Mercurial repository. The contributed code is approximately 135,000 lines of code, making it the largest single donation of code to the Mozilla project besides Netscape itself. There were plans to use Tamarin as part of Mozilla 2 (and therefore Firefox 4). The project to integrate Tamarin and SpiderMonkey was called "ActionMonkey", but was canceled in 2008 because Tamarin's interpreter turned out to be slower than SpiderMonkey's and because the plans of ECMAScript development shifted from ECMAScript 4, which was partially implemented by then existing Tamarin source code and was meant to be completed by joined efforts of Adobe, Mozilla and its community within the Tamarin Project, to ECMAScript Harmony. Adobe continued to use Tamarin in its Flash Player, but it did not replace SpiderMonkey as the JavaScript engine of Mozilla applications. The only part of Tamarin used in modern Mozilla applications (i.e. Firefox 3.5+) via SpiderMonkey is NanoJIT, a module that is used to generate native code when performing just-in-time compilation.

What Tamarin is not Adobe contributed code for its ActionScript Virtual Machine 2 and the JIT compiler. The ActionScript compiler is also open source as a part of Adobe Flex. There is also CrossBridge, an open source C and C++ compiler. Tamarin is not the same as Adobe Flash Player, which remains closed source. The Tamarin virtual machine is only a part of Flash Player.

Related projects Two projects related to Tamarin were announced on July 25, 2007, in Brendan Eich's keynote at The Ajax Experience West: IronMonkey and ScreamingMonkey. IronMonkey is a project to map IronPython and IronRuby to Tamarin led by Seo Sanghyeon. ScreamingMonkey's goal is to allow Tamarin to run within non-Mozilla browsers (thus allowing them to understand JavaScript 2), starting with Internet Explorer. The project is led by Mark Hammond. Neither project had production-quality releases and their current status is unclear.

Etymology Both SpiderMonkey and Tamarin fulfill closely related goals and so were given names derived from types of monkeys (the spider monkey and the tamarin, respectively).

Further reading Tamarin page on MDN (Tamarin is obsolete) Archived 2016-10-03 at the Wayback Machine Eich, Brendan (November 7, 2006). "Project Tamarin". Retrieved 2021-03-25. Mozilla CTO Hecker, Frank (November 7, 2006). "Adobe, Mozilla, and Tamarin". Archived from the original on 2020-11-09. Mozilla Foundation executive director Double, Chris (May 20, 2008). "A Quick Introduction to Tamarin Tracing". Retrieved 2021-03-25. Mozilla developer Double, Chris (May 20, 2008). "Implementing Native Methods in Tamarin Tracing". Retrieved 2021-03-25. Double, Chris (May 21, 2008). "Extending Tamarin Tracing with Forth". Retrieved 2021-03-25. "Profiling Runtime Generated and Interpreted Code using the VTune Performance Analyzer" (PDF). Intel. Archived from the original (PDF) on January 27, 2012.

References

External links

Official website Tamarin Project at www-archive.mozilla.org Tamarin at wiki.mozilla.org

Worked examples

Example 1 — a first encounter with Tamarin (software)

Start with the simplest possible case. Write down what Tamarin (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 Tamarin (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 Tamarin (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 Tamarin (software)

In research
Tamarin (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 Tamarin (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
Tamarin (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Adobe Flash, Discontinued software, Free software programmed in C++, so understanding it makes those chapters shorter.
In everyday life
Look for Tamarin (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 “Tamarin (software)” →

How to study Tamarin (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Tamarin (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 Tamarin (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Tamarin (software) in simple terms?

Tamarin is a discontinued free software virtual machine with just-in-time compilation (JIT) support intended to implement the 4th edition of the ECMAScript (ES4) language standard. Tamarin source code originates from ActionScript Virtual Machine 2 (AVM2) developed by Adobe Systems, as introduced wi…

Why does Tamarin (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 Tamarin (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 Tamarin (software).

Tags

  • Adobe Flash
  • Discontinued software
  • Free software programmed in C++
  • JavaScript engines
  • Mozilla
  • Software using the Mozilla Public License
  • Virtual machines

Keep exploring