ArticleslgStudy

computer science

GNUstep

GNUstep 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 GNUstep rather than just read about it. In short: GNUstep is a free software implementation of the Cocoa (formerly OpenStep) Objective-C frameworks, widget toolkit, and application development tools for Unix-like operating systems and Microsoft Windows. It is part of the GNU Project.

GNUstep — main illustration
GNUstep — illustration

Key takeaways

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

Reference excerpt

GNUstep is a free software implementation of the Cocoa (formerly OpenStep) Objective-C frameworks, widget toolkit, and application development tools for Unix-like operating systems and Microsoft Windows. It is part of the GNU Project. GNUstep features a cross-platform, object-oriented IDE. Apart from the default Objective-C interface, GNUstep also has bindings for Java, Ruby, GNU Guile and Scheme. The GNUstep developers track some additions to Apple's Cocoa to remain compatible. The roots of the GNUstep application interface are the same as the roots of Cocoa: NeXTSTEP and OpenStep. GNUstep thus predates Cocoa, which emerged when Apple acquired NeXT's technology and incorporated it into the development of the original Mac OS X, while GNUstep was initially an effort by GNU developers to replicate the technically ambitious NeXTSTEP's programmer-friendly features.

History GNUstep began when Paul Kunz and others at Stanford Linear Accelerator Center wanted to port HippoDraw from NeXTSTEP to another platform. Instead of rewriting HippoDraw from scratch and reusing only the application design, they decided to rewrite the NeXTSTEP object layer on which the application depended. This was the first version of libobjcX. It enabled them to port HippoDraw to Unix systems running the X Window System without changing a single line of their application source. After the OpenStep specification was released to the public in 1994, they decided to write a new objcX which would adhere to the new APIs. The software would become known as "GNUstep".

Software architecture

The Foundation Kit provides basic classes such as wrapper classes and data structure classes. The Application Kit provides classes oriented around graphical user interface capabilities. GNUstep contains a set of graphical control elements written in the Objective-C programming language. The graphical user interface (GUI) of GNUMail is composed of graphics control elements. GNUMail has to interact with the windowing system, e.g. X11 or Wayland, and its graphical user interface has to be rendered. GNUstep's backend provides a small set of functions used by the user interface library to interface to the actual windowing system. It also has a rendering engine which emulates common Postscript functions. The package gnustep-back provides the following backends:

cairo – default backend using the Cairo 2D graphics library. winlib – default backend on Microsoft Windows systems. Cairo and Windows API variants. art – old (deprecated) backend on unix-like systems. Uses the vector-based PostScript-like 2D graphics library Libart. xlib – old (deprecated) X11 backend. GNUstep inherits some design principles proposed in OPENSTEP (GNUstep predates Cocoa, but Cocoa is based on OPENSTEP) as well as the Objective-C language.

Model–view–controller paradigm Target–action Drag-and-drop Delegation Message forwarding (through NSInvocation) In addition to the Objective-C interface, some small projects under the GNUstep umbrella implement other APIs from Apple:

The Boron library aims to implement the Carbon API. It is very incomplete. The CoreBase library is designed to be compatible with Core Foundation. It is not complete enough for the Base (Foundation Kit) component to simply be a wrapper around it. The QuartzCore library implements Core Animation APIs. The Opal library implements Quartz 2D. As of February 2020, there are no projects that build the Swift programming language against the GNUstep Objective-C environment.

Applications Here are some examples of applications written for or ported to GNUstep.

Original Addresses, an address/contacts manager Étoilé, a desktop environment GNUMail, an e-mail client GNUstep Database Library 2, an Enterprise Objects Framework clone GNUstepWeb, an application server compatible with WebObjects 4.x Gorm, a user interface builder application, and part of the developer tools of GNUstep. Gorm is the equivalent of Interface Builder that was originally found on NeXTSTEP, then OPENSTEP, and finally on Mac OS X. It supports the old .nib files as well as its own .gorm file format. GWorkspace, a workspace and file manager Grr, an RSS feed reader Oolite, a clone of Elite, a space simulation game with trading components PRICE, imaging application ProjectCenter, the Project Builder or Xcode equivalent. TalkSoup, an IRC client Terminal Zipper, a file archiver tool Window Maker is a window manager that emulates NeXTSTEP's GUI as an OpenStep-compatible environment. It was launched in 1997 as an improved take on AfterStep's design.

Ported from NeXTSTEP, OPENSTEP, or macOS Adun BioCocoa Chess Cenon DoomEd EdenMath Eggplant Emacs Fortunate Gomoku NeXTGO PikoPixel TextEdit TimeMon

Forks of GNUstep Universal Windows Platform, which includes a WinObjC suite consisting of various parts of GNUstep and Microsoft's own implementations of things like the Cocoa Touch API.

See also

Darling (software), a compatibility layer that relies on GNUstep GNUstep fat bundle Miller columns, the method of file tree browsing the GWorkspace File Viewer uses Property list, often-used file format to store user settings StepTalk, scripting framework

References

External links

Official website GNUstep Application Project A 2003 interview with GNUstep developer Nicola Pero Archived 2007-01-07 at the Wayback Machine FLOSS Weekly Interview with Gregory Casamento and Riccardo Mottola from GNUstep

Illustrations

GNUstep illustration
GNUstep illustration
GNUstep: Software components of the Linux desktop include the display server, graphics control element libraries, and graphical shells.
Software components of the Linux desktop include the display server, graphics control element libraries, and graphical shells.

Worked examples

Example 1 — a first encounter with GNUstep

Start with the simplest possible case. Write down what GNUstep 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 GNUstep 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 GNUstep 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 GNUstep

In research
GNUstep 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 GNUstep 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
GNUstep is common in secondary-school and first-year university syllabi. It links to neighbouring topics Compatibility layers, Cross-platform free software, Free software programmed in Objective-C, so understanding it makes those chapters shorter.
In everyday life
Look for GNUstep 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 “GNUstep” →

How to study GNUstep in 20 minutes

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

Frequently asked questions

What is GNUstep in simple terms?

GNUstep is a free software implementation of the Cocoa (formerly OpenStep) Objective-C frameworks, widget toolkit, and application development tools for Unix-like operating systems and Microsoft Windows. It is part of the GNU Project.

Why does GNUstep 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 GNUstep?

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 GNUstep.

Tags

  • Compatibility layers
  • Cross-platform free software
  • Free software programmed in Objective-C
  • GNU Project software
  • GNUstep
  • NeXT
  • Software that uses Cairo (graphics)
  • Widget toolkits
  • X Window System

Keep exploring