新语言有什么用处 - 寻找越位者的用例
今天,我的一位同事展示了我称之为计算机科学的有趣部分。由于缺乏更好的词,他创建了一个“系统”,称为Offsider。演讲结束后,我留下了一个棘手的想法:这必须有某种优先级。
它感觉就像一个基于对象的 shell,如 python,在创建时即时对对象进行酸洗,感觉就像基于 php 文件的会话。任何人都可以对此做出任何明确的相似之处吗?它的合理用例是什么?
One of my colleagues today demonstrated what I could call an interesting piece of Computer Science. He has created a "system" for lack of a better word called Offsider. After the presentation I was left with a niggling thought that this must have some sort of precedence.
It feels like an object based shell like python with instant pickling of the objects on creation in what feels like a php file based sessions. Can anyone draw any well established parallels to this ? What would be reasonable use cases for it ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
几个相似之处:
“一切都是消息传递”首先由 Smalltalk 完成(而且仍然是最好的) .
许多年前,Dave Hanson 和 Chris Fraser 尝试过一项实验,基本上说“语言就是操作系统”。 (它没有成功。)你同事的建议听起来像是“让我们与现有的操作系统对话,就好像它是一种面向对象的语言一样”。
在我看来,区分 Unix 的主要思想是
我不知道如何通过在其之上分层对象来改进该模型。对象不适合现有的 Unix 模型,因此您最终将创建一组使用对象模型的全新程序。此时,您不妨只使用世界上众多优秀的面向对象编程语言中的一种,或者如果您想要多种语言,则可以使用许多糟糕的互操作性工具(例如 CORBA)中的一种。
A couple of parallels:
"Everything is message passing" was done first (and still best) by Smalltalk.
Many years ago Dave Hanson and Chris Fraser tried an experiment that basically said "the language is the operating system." (It didn't go anywhere.) Your colleague's proposal smells like "let's talk to the existing operating system as if it were an object-oriented language".
In my mind, the main ideas that distinguish Unix are
I don't see how this model is improved by layering objects on top of it. Objects don't fit the existing Unix model, so you're going to wind up creating an entirely new set of programs that use the object model. At this point you may as well just use one of the many fine object-oriented programming languages in the world, or if you want more than one, one of the many awful interoperability tools like CORBA.
我认为这是另一种深奥的编程语言,编写了很多语言,但大多数语言编写的却很少,它们
通常有一些有趣的功能,但没有人很确定如何在此基础上进行构建
i think it's another one of those esoteric programming languages so many are written but so little is written in most of them
they normally have some interesting feature but no one is quite sure how to build on that