什么是 Smalltalk“图像"? [英] What is a Smalltalk "image"?

查看:39
本文介绍了什么是 Smalltalk“图像"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是 Smalltalk图像"?是不是像序列化一个 Smalltalk 运行时一样?

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

推荐答案

Smalltalk 图像是一个非常有趣的野兽.将其视为一种不朽.目前的许多Smalltalk系统,其中Pharo、Squeak、VisualWorks,都有一个共同的祖先,即来自施乐PARC的Smalltalk镜像.然而,这个共同的祖先并不是什么遥远的东西,而是在那些现代系统中实际上仍然存在.现代变体是通过向该图像中的对象发送消息而产生的.其中一些消息实际上改变了当前对象.类是成熟的对象,创建新类是通过向类对象发送消息来完成的.Smalltalk 镜像中的一些对象可以追溯到 1972 年,当时第一个 Smalltalk 镜像被引导!Smalltalk 图像永远不会消亡,它们只是逐渐变成潜在的根本不同的东西.您应该将您的应用程序构建视为与创建新的 Smalltalk 版本没有根本区别.

The Smalltalk image is a very interesting beast. Look at it as a kind of immortality. Many current Smalltalk systems, Pharo, Squeak, VisualWorks among them, share a common ancestor, that is, a Smalltalk image from Xerox PARC. This common ancestor however is not some remote thing, but actually still alive in those modern systems. The modern variants were produced by sending messages to the objects in that image. Some of those messages actually morphed the current objects. Classes are full-blown objects, and creating new classes is done by sending messages to class objects. Some of the objects in a Smalltalk image may date back to 1972, when the first Smalltalk image bootstrapped! Smalltalk images never die, they just fade into something potentially fundamentally different. You should view your application building as not fundamentally different from creating a new Smalltalk version.

这篇关于什么是 Smalltalk“图像"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆