Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a Smalltalk "image"?

What is a Smalltalk "image"? Is it like serializing a Smalltalk run-time?

like image 245
Smalltalk Avatar asked Aug 24 '10 21:08

Smalltalk


People also ask

What is Smalltalk used for?

Smalltalk was the first graphical language tool to support live programming and advanced debugging techniques such as on-the-fly inspection and code changes during execution in a very user-friendly format.

What is Smalltalk style messaging?

Smalltalk is an object-oriented, dynamically typed reflective programming language. Smalltalk was created as the language underpinning the "new world" of computing exemplified by "human–computer symbiosis".

What is Smalltalk in computer?

Smalltalk is a fully object-oriented, dynamically typed, reflective programming language with no 'non-object' types. Smalltalk was created as the language to underpin the “new world” of computing exemplified by “human–computer symbiosis.”

Is everything an object in Smalltalk?

In Smalltalk, everything is an object, and classes act as descriptions of objects. Classes are used to define the set of messages an instance of that class responds to, as well as the variables contained in every instance of that class.


1 Answers

Most popular programming systems separate program code (in the form of class definitions, functions or procedures) from program state (such as objects or other forms of application data). They load the program code when an application is started, and any previous application state has to be recreated explicitly from configuration files or other data sources. Any settings the application programmer doesn't explicitly save, you have to set back up whenever you restart.

Many Smalltalk systems, however, do not differentiate between application data (objects) and code (classes). In fact, classes are objects themselves. Therefore most Smalltalk systems store the entire application state (including both Class and non-Class objects) in an image file. The image can then be loaded by the Smalltalk virtual machine to restore a Smalltalk-like system to a previous state.

http://en.wikipedia.org/wiki/Smalltalk#Image-based_persistence

like image 160
Robert Harvey Avatar answered Sep 17 '22 22:09

Robert Harvey