SmallTalk

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

Contents

Summary

Smalltalk (Specifically, Smalltalk-80) is a dynamically typed, object-oriented, garbage-collected language that originated at Xerox Park in the 1970s. It was used commercially in the 80's, especially in banking and other financial areas. It faded from mainstream development in the early 90's because of Java and other popular languages, but it is still used to a degree, especially by hobbyists and some researchers.

Smalltalk has a development system that is unique among popular languages; the entire IDE and environment is a running Smalltalk "image". To develop with it, you create new classes within the image through the IDE, rather than creating source code files as in C or C++. Once you define a class, you can immediately instantiate and test it, as in Lisp and other interacitve languages. Also, in distributions such as Squeak, the source code for the entire image is included, and editable. This means that the class browser, built-in tools such as games and web browsers, and any other part of the system can be changed at run-time.

Implementations

(Incomplete list)

Squeak

Squeak is the most popular free implementation of Smalltalk. It runs on Windows, Unix, MacOS, and many other places. It contains its own colorful GUI (which runs in a window) and contains (along with source code!) simple games such as Tetris, a web browser, and many, many other things.

Squeak also contains a visual programming system called EToys that is intended for use by grade schoolers. One of the early examples demonstrates how to create and "drive" a car in 2D.

Dolphin Smalltalk

Dolphin Smalltalk is a commercial Smalltalk implementation with a free "Community Edition". It is specific to Windows and contains tools for building Windows applications.

Links