-
MVEL 1.2 Final Preview Released (13 messages)
- Posted by: Christopher Brock
- Posted on: July 05 2007 06:12 EDT
The follow-up to the fastest general purpose expression language has finally reached a milestone. After months of work, the new and even more powerful MVEL contains many new language features, including a new JIT compiler. Integration of MVEL is straight forward, and easy. Use of the new optimizing JIT compiler does not require the use of a special API. Instead, MVEL's JIT is completely transparent, and like HotSpot, compiles code on the fly for near-native performance. In addition to the JIT, MVEL's new and improved parser-interpreter and reflection-optimizers provide high performance for memory constrained environments. MVEL 1.2 now includes optional static typing and dynamic type inferencing, and casting, allowing you to write type-safe expressions. MVEL is the hands down performance leader in the land of expression languages. In fact, MVEL is now the premier scripting language for the performance sensitive JBoss Rules Engine. Check it out: http://mvel.codehaus.orgThreaded Messages (13)
- Templating? by David Tinker on July 05 2007 07:23 EDT
- JSR 223 by Richard Burton on July 05 2007 14:50 EDT
- The templating mechanism is still in place. by Christopher Brock on July 05 2007 15:02 EDT
- Re: Templating? by Mark Proctor on July 05 2007 15:33 EDT
- Re: MVEL 1.2 Final Preview Released by Guido Anzuoni on July 05 2007 08:29 EDT
- Why isn't it in the Maven repository? by Matt Jensen on July 05 2007 08:58 EDT
- Re: Why isn't it in the Maven repository? by Christopher Brock on July 05 2007 15:04 EDT
- is it faces el compatible? by Joe Fouad on July 05 2007 12:03 EDT
- Re: is it faces el compatible? by Christopher Brock on July 05 2007 15:05 EDT
- Why MVEL by Mark Proctor on July 05 2007 15:36 EDT
- Re: MVEL 1.2 Final Preview Released by Michael Neale on July 05 2007 20:30 EDT
- Are you comparing to the latest OGNL 2.7 release? by Niall Pemberton on July 10 2007 11:06 EDT
- Re: Are you comparing to the latest OGNL 2.7 release? by Niall Pemberton on July 10 2007 11:28 EDT
-
Templating?[ Go to top ]
- Posted by: David Tinker
- Posted on: July 05 2007 07:23 EDT
- in response to Christopher Brock
How would you use this as a templating machanism e.g. replacement for Velocity? The home page mentions this but I could not find any examples.In addition to being an expression language, MVEL also comes packaged with an equally high-performance templating system similar to Velocity and FreeMarker.
Thanks David -
JSR 223[ Go to top ]
- Posted by: Richard Burton
- Posted on: July 05 2007 14:50 EDT
- in response to David Tinker
When will the Maven pom for the JSR 223 get done Best Regards, Richard L. Burton III -
The templating mechanism is still in place.[ Go to top ]
- Posted by: Christopher Brock
- Posted on: July 05 2007 15:02 EDT
- in response to David Tinker
We will be updating the documentation in the interim as we approach final release. But the templating system remains from previous versions, with many improvements, and performance enhancements. Most of the old documentation for templating at http://wiki.mvflex.org for templating still applies, aside from some minor refactoring. ie. org.mvel.Interpreter is now org.mvel.TemplateInterpreter -
Re: Templating?[ Go to top ]
- Posted by: Mark Proctor
- Posted on: July 05 2007 15:33 EDT
- in response to David Tinker
How would you use this as a templating machanism e.g. replacement for Velocity? The home page mentions this but I could not find any examples.
We are using MVEL's templating system in Drools, works well for us. You can see one of our templates here: http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaInvokers.mvel One of the nice things about the language is the dual iterators, optional seperator chars (borrowed from StringTemplate): methodDeclaration(@foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier} @end{","}) And of course you get access to the full MVEL expression language in the templating system. Mark http://markproctor.blogspot.com/In addition to being an expression language, MVEL also comes packaged with an equally high-performance templating system similar to Velocity and FreeMarker.
Thanks
David -
Re: MVEL 1.2 Final Preview Released[ Go to top ]
- Posted by: Guido Anzuoni
- Posted on: July 05 2007 08:29 EDT
- in response to Christopher Brock
MVEL is the hands down performance leader in the land of expression languages.
On compiled expression yes, even if instantj should not be so far (OK, it needs type declaration for the objects involved in the expression). I would not be so sure in interpreted mode. Guido. -
Why isn't it in the Maven repository?[ Go to top ]
- Posted by: Matt Jensen
- Posted on: July 05 2007 08:58 EDT
- in response to Christopher Brock
Are there licensing issues? There is a directory in the repository, /org/codehaus/mvel, but it is empty. -
Re: Why isn't it in the Maven repository?[ Go to top ]
- Posted by: Christopher Brock
- Posted on: July 05 2007 15:04 EDT
- in response to Matt Jensen
We'll be sure to get MVEL 1.2 POM'd before final release. -
is it faces el compatible?[ Go to top ]
- Posted by: Joe Fouad
- Posted on: July 05 2007 12:03 EDT
- in response to Christopher Brock
can we use it as a replacement of the faces el?it may be very usefull to have a fast el as the framework take a considerable amount of time evaluating expressions(up to 35 %) -
Re: is it faces el compatible?[ Go to top ]
- Posted by: Christopher Brock
- Posted on: July 05 2007 15:05 EDT
- in response to Joe Fouad
Richard Burton has done some stand up work writing the JSR233 compatability layer, which we'll get properly documented before final release. -
Why MVEL[ Go to top ]
- Posted by: Mark Proctor
- Posted on: July 05 2007 15:36 EDT
- in response to Christopher Brock
I did a blog on Why MVEL for Drools http://markproctor.blogspot.com/2007/05/why-mvel-scipting-language-for-jboss.html The summary of which is: * Reflection/bytecode(JIT) compilation and execution modes. * Fast reflection mode. * Pluggeable resolvers. * Size. * Custom language extensions with macro's and interceptors * Static/Inferred typed or dynamic modes. * Configurable language feature support. Mark http://markproctor.blogspot.com -
Re: MVEL 1.2 Final Preview Released[ Go to top ]
- Posted by: Michael Neale
- Posted on: July 05 2007 20:30 EDT
- in response to Christopher Brock
Congrats ! It has come a long way very very quickly. And interpreted mode is blisteringly fast. A nice handy shell (for those who are weird enough to use a shell to try out things !). -
Are you comparing to the latest OGNL 2.7 release?[ Go to top ]
- Posted by: Niall Pemberton
- Posted on: July 10 2007 11:06 EDT
- in response to Christopher Brock
I followed the links to the MVEL performance page here: http://mvel.codehaus.org/Performance+of+MVEL ...but its not clear what version of OGNL you're comparing to. Given that OGNL 2.7 was just released claiming big performance improvements based on a new "OGNL bytecode compiler enhancements" feature: http://www.theserverside.com/news/thread.tss?thread_id=45954 ...I'm wondering whether your claim to be the "hands down performance leader in the land of expression language" is based on old figures - or have you re-tested against OGNL 2.7? Also if the only EL you've tested against is OGNL, then seems a baseless claim anyway. -
Re: Are you comparing to the latest OGNL 2.7 release?[ Go to top ]
- Posted by: Niall Pemberton
- Posted on: July 10 2007 11:28 EDT
- in response to Niall Pemberton
OK forget that - just seen http://www.theserverside.com/news/thread.tss?thread_id=46083