Code Monkey home page Code Monkey logo

Comments (3)

wuxinshui avatar wuxinshui commented on May 18, 2024

同求

from qlexpress.

baoxingjie avatar baoxingjie commented on May 18, 2024

qlExpress本身只是一个脚本语言,可以被封装成规则引擎,而drools本身是个规则引擎,专注于规则的条件匹配和执行,不具备可比性。

qlExpress和groovy同属脚本语言,比较如下:
1、groovy比qlExpress更兼容java语法
相对功能复杂处理过程的大段java脚本,groovy可以直接拷贝过来运行,
而qlexpress的语法很轻量,对原始的java代码有一定的兼容性问题,一般需要把数据的类型声明全部去掉,同时不支持异常处理、for循环的集合写法 等

2、qlExpress比groovy更强调功能扩展
因为qlExpress就是诞生于阿里的电商系统,定制了很多特别的常用功能需求(宏定义,语法解析,公式计算,布尔逻辑处理,操作符函数的内置替换),可读性和功能更贴合业务需要,详细看qlExpress的扩展能力部分

3、qlExpress和groovy性能相当
qlExpress和groovy同属弱类型语法,比如a+b,可以在运行时支持字符串,数字等多种计算模式,相比fel,simpleExpress 等强类型语言性能会差一个数量级。
他们都支持编译期做了缓存功能,qlExpress转化为InstructSet,groovy转化为一个特殊的groovyclass子类

from qlexpress.

baoxingjie avatar baoxingjie commented on May 18, 2024

from qlexpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.