Telescript编程语言
Telescript 是一种由 General Magic 公司为 Magic Cap 系统开发的面向智能体(agent)的编程语言。
它使用一种类似于 C 语言的语法 (High Telescript),并编译成一种基于堆栈的语言 (Low Telescript) 在虚拟机器中运行。
Telescript 的设计理念是反向 Java 的运作模式,将计算任务转移到服务器端,允许功能受限的客户端设备利用服务器的计算能力。
该语言还支持程序迁移,可以把正在运行的程序代码和状态转移到其他 Telescript 引擎继续执行。
Telescript 采用了分布式计算模型,程序由多个智能体在不同的“场所”(places,即服务器)间交互完成,并使用“电名”(telename) 和 “电址”(teleaddress) 实现用户身份和设备定位,数据传输也采用智能体间的信息传递机制。
虽然 General Magic 公司最终未能获得成功,但其核心技术影响了后续的发展,例如 OnStar 系统就基于其开发的 Portico 平台。
查看原文开头(英文 · 仅前 3 段)
From Wikipedia, the free encyclopedia
Telescript is an agent-oriented programming language written by General Magic as part of the overall Magic Cap system. Telescript programs used a modified C-like syntax known as High Telescript and were compiled to a stack-based language called Low Telescript for execution. Low Telescript ran within virtual machine interpreters, or "Telescript engines", on host computers.
The basic model of Telescript is similar to Java, and differs primarily in where the applications would run. Java was modelled to make it possible to download Java applications onto any platform and run them locally. Telescript essentially reversed this, allowing end-user equipment with limited capabilities to upload Telescript programs to servers to allow them to take advantage of the server's capabilities. Telescript could even migrate a running program; the language included features to marshal a program's code and serialized state, transfer it to another Telescript engine (on a device or a server) to continue execution, and finally return to the originating client or server device to deliver its output.
※ 出于版权考虑,仅引用前 3 段。完整内容请阅读原文。