ArticleslgStudy

computer science

Fortress (programming language)

Fortress (programming language) 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 Fortress (programming language) rather than just read about it. In short: Fortress is a discontinued experimental programming language for high-performance computing, created by Sun Microsystems with funding from The Defense Advanced Research Projects Agency's (DARPA) High Productivity Computing Systems project. One of the language designers was Guy L.

Key takeaways

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

Reference excerpt

Fortress is a discontinued experimental programming language for high-performance computing, created by Sun Microsystems with funding from The Defense Advanced Research Projects Agency's (DARPA) High Productivity Computing Systems project. One of the language designers was Guy L. Steele Jr., whose prior work includes Scheme, Common Lisp, and Java.

Design The name Fortress was intended to connote a secure Fortran, i.e., "a language for high-performance computation that provides abstraction and type safety on par with modern programming language principles." Language features included implicit parallelism, Unicode support and concrete syntax similar to mathematical notation. The language was not designed to be similar to Fortran. Syntactically, it most resembles Scala, Standard ML, and Haskell. Fortress was designed from the outset to have multiple syntactic stylesheets. Source code can be rendered as ASCII text, in Unicode, or as a prettied image. This would allow for support of mathematical symbols and other symbols in the rendered output for easier reading. An emacs-based tool named fortify transforms ASCII-based Fortress source code into LaTeX output. Fortress was also designed to be both highly parallel and have rich functionality contained within libraries, drawing from Java. For example, the for loop construct was a parallel operation, which would not necessarily iterate in a strictly linear manner, depending on the underlying implementation. However, the for construct was a library function and could be replaced by another version of the programmer's liking rather than being built into the language. Fortress' designers made its syntax as close as possible to pseudocode and analyzed hundreds of computer science and mathematics papers, courses, books and journals using pseudocode to extract the common usage patterns of the English language and standard mathematical notation when used to represent algorithms in pseudocode. Then they made the compiler trying to maintain a one-to-one correspondence between pseudocode and executable Fortress.

History Fortress was one of three languages created with funding from the High Productivity Computing Systems project; the others were X10 from IBM and Chapel from Cray, Inc. In November 2006, when DARPA approved funding for the third phase of the HPCS project, X10 and Chapel were funded, but Fortress was not, leading to uncertainty about the future of Fortress. In January 2007, Fortress was released as open-source. Version 1.0 of the Fortress Language Specification was released in April 2008, along with a compliant implementation targeting the Java virtual machine. In July 2012, Steele announced that active development on Fortress would cease after a brief winding-down period, citing complications with using Fortress's type system on existing virtual machines.

Example: Hello world! This is the Fortress version of the archetypal "Hello, World!" program, as presented in the Fortress Reference Card:

component hello export Executable run() = println("Hello, World!") end

The export statement makes the program executable and every executable program in Fortress must implement the run() function. The file where the program is saved for compilation must have the same name as the one specified in the initial component statement. The println() function is what outputs the "Hello, World!" words on the screen.

See also

Partitioned global address space SISAL

References

External links Project website archive Active Timeline of Specification and Reference Implementation

Worked examples

Example 1 — a first encounter with Fortress (programming language)

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

In research
Fortress (programming language) 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 Fortress (programming language) 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
Fortress (programming language) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Array programming languages, Concurrent programming languages, Discontinued programming languages, so understanding it makes those chapters shorter.
In everyday life
Look for Fortress (programming language) 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 “Fortress (programming language)” →

How to study Fortress (programming language) in 20 minutes

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

Frequently asked questions

What is Fortress (programming language) in simple terms?

Fortress is a discontinued experimental programming language for high-performance computing, created by Sun Microsystems with funding from The Defense Advanced Research Projects Agency's (DARPA) High Productivity Computing Systems project. One of the language designers was Guy L.

Why does Fortress (programming language) 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 Fortress (programming language)?

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 Fortress (programming language).

Tags

  • Array programming languages
  • Concurrent programming languages
  • Discontinued programming languages
  • Fortran programming language family
  • JVM programming languages
  • Numerical programming languages
  • Programming languages created in 2006
  • Programming languages supporting units of measure
  • Software using the BSD license

Keep exploring