Jump to content

Emerald (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wilhelmina Will (talk | contribs) at 00:44, 24 September 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Emerald
Paradigmobject-oriented
Designed byAndrew P. Black, Norman C. Hutchinson, Eric Jul, Henry M. Levy
First appeared1980s
Typing disciplinestrong, static
Websitehttp://www.emeraldprogramminglanguage.org/
Influenced by
Pascal, Simula, Smalltalk
Influenced
Java, Singularity

Emerald is a distributed, object-oriented programming language developed in the 1980s by Andrew P. Black, Norman C. Hutchinson, Eric Jul, and Henry M. Levy, in the Department of Computer Science at the University of Washington.

A simple Emerald program can create an object and move it around the system:

  const Kilroy ←  object Kilroy
    process
      const origin ←  locate self
      const up ← origin.getActiveNodes
      for e in up
        	const there ← e.getTheNode
        	move self to there
      end for
      move self to origin
    end process
  end Kilroy

According to the designers, Emerald was designed to support high performance distribution, location, and high performance of objects, to simplify distributed programming, to exploit information hiding, and to be a small language.