Smalltalk 中的图像间通信。 可能的?
我有一个图遍历问题,在 Smalltalk 中完美且优雅地建模,但对于一个 Smalltalk 图像实例来说它太大(在计算和存储方面)。 因此,我想将问题划分到多个实例中。
我的问题是,有没有什么好的方法可以在smalltalk实例之间发送消息。 有点像 MPI,但用于小型对话。
我应该提到的是,我使用的是 Squeak,但如果这个功能有一些闲聊的味道,我可以应付。
I have a graph-traversal problem that is beautifully and elegantly modeled in smalltalk, but it's too big (in terms of computation and storage) for one smalltalk image instance. So, I want to partition the problem across multiple instances.
My question is, is there any good way to send messages between smalltalk instances. Kind of like MPI, but for smalltalk.
I should mention that I'm on Squeak, but if there is some flavor of smalltalk with this feature, I can cope.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
有一个名为 Hydra 的项目正在进行中,目标是让 Squeak 具备多核能力。 Hydra 的主要特征之一也是图像间通信通道。
更多信息:
There is a project named Hydra underway, with a goal to make a Squeak multi-core capable. One of the main features of Hydra are also the inter-image communication channels.
Some more information:
查看远程 Smalltalk。
Have a look at Remote Smalltalk.
Open Croquet 从概念上讲是一堆相互通信的 Smalltalk 图像。 也许它和它的岛屿可能很合适?
Open Croquet is conceptually a bunch of Smalltalk images communicating with each other. Maybe it, and its Islands, might be a good fit?
为了完整起见,我敢提一下 Cincom VisualWorks 的 OpenTalk 库。 OpenTalk 的主要优点是,在许多情况下,您只需将其放入,其余代码就可以在网络上运行。 它的基本思想是用本地代理替换远程对象并向图像发送消息。
Cincom 的 VisualWorks 页面:http://www.cincomsmalltalk.com/main/products/visualworks
For the sake of completeness I dare to mention OpenTalk library from Cincom VisualWorks. OpenTalk main advantage is that in many cases you just put it in and the rest of your code just works across the network. Its basic idea is to replace remote object with local proxy and send messages to a image.
VisualWorks page at Cincom: http://www.cincomsmalltalk.com/main/products/visualworks
在 Esug2012 上,Nick Papoulias 展示了Seamless。 Pharo 努力将工具运行环境与开发映像分开。
At Esug2012, Nick Papoulias showed Seamless. It is part of the effort in Pharo to separate the environment where the tools run from the development image.