问题描述
我打算在我的应用程序中包含一个 pascal 脚本.它不需要任何网络访问,只需访问我的应用程序中的类.它应该很快(编译).我看到有许多可用的脚本,有些是解释器,但在编译器 RemObjects pascal script和 Delphi Web Script (DWS) 似乎很强大并且被积极追求.
I'm planning to include a pascal script in my application. It does not require any web access, simply access to classes in my Application. It should be fast (compiled). I see that there are a number of scripts available, some are interpreters but amongst the compilers RemObjects pascal script and Delphi Web Script (DWS) seem to be powerful and actively pursued.
谁能提出一个比另一个的优势?谢谢
Can anyone suggest advantages of one over another please?Thanks
推荐答案
归根结底,恕我直言:
Delphi Web Script 正在积极、积极地开发中.
Delphi Web Script is being actively and aggressively developed.
PascalScript 在开发和增强方面几乎处于休眠状态.
PascalScript is pretty much dormant in terms of development and enhancements.
但是,DWS 是一个社区项目,本质上是由一个(非常有才华和能力的)人开发的.RemObjects 支持 PascalScript.
However, DWS is a community project essentially being developed by one (very talented and competent) guy. PascalScript is supported by RemObjects.
但是:参与开发/支持产品的人数/组织规模并不像他们实际提供的开发和支持的效率和热情那么重要.
But: The number of people/size of organisation involved in developing/supporting a product is not as important as the efficacy and enthusiasm of the development and support they are actually providing.
在这两种情况下都提供了来源,因此即使官方支持"枯竭,您也不会完全迷失.
In both cases source is provided, so even if "official support" dried up, you would not be completely lost.
据我了解,DWS 引擎是一个比 PascalScript 更容易理解的实现,这可能会使自我支持"更容易,但在这种情况下,你习惯的东西很重要(我之前曾研究过一个完全不同的脚本引擎我理解它比 PascalScript 更类似于 DWS).
From what I understand, the DWS engine is a more easily understood implementation than PascalScript which may make "self support" easier, tho in such cases what you are used to is important (I have previously worked on an entirely different script engine which I understand is more similar to DWS than PascalScript).
最后,我目前正在做一个使用 PascalScript 的项目,现阶段打算尽快切换到 DWS.
Lastly, I currently work on a project that uses PascalScript and at this stage intend switching to DWS as soon as possible.
这篇关于RemObjects PascalScript 与 DWS 脚本的优缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!