问题描述
我计划在我的应用程序中包含一个pascal脚本。它不需要任何Web访问,只需访问我的应用程序中的类。它应该是快速(编译)。我看到有很多脚本可用,有些是解释器,但在编译器RemObjects 和似乎是强大的并且积极地追求。
任何人都可以建议一个的优点超过另一个吗?
感谢
归根到底,imho:
-
Delphi Web Script正在积极开发中。
-
PascalScript在开发方面
然而,DWS是一个社区项目,基本上是由一个PascalScript是RemObjects支持的。
但是:开发/支持产品所涉及的组织人数/组织规模不如开发的效率和热情那么重要
在这两种情况下,都提供了源代码,因此即使官方支持干了,你也不会完全失去。
根据我的理解,DWS引擎是一个比PascalScript更容易理解的实现,这可能使自我支持更容易,在这种情况下,你习惯是重要的(我有以前工作在一个完全不同的脚本引擎,我理解是更像DWS比PascalScript)。
最后,我目前正在使用一个项目使用PascalScript和在这一阶段打算尽快切换到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
It comes down to this, imho:
Delphi Web Script is being actively and aggressively developed.
PascalScript is pretty much dormant in terms of development and enhancements.
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.
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).
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脚本的利弊是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!