Can we use Clojure for this? Clojure can be used as a dynamic language as well [1,2]. I think we should be able to use the load-file [3] function or load/load-script [4,5].
Since clojure has a strong affinity to Storm, someone coming in from Storm background will be more used to Clojure IMHO. Clojure also supports lambda expressions. (It is also mostly a functional programming language :-)) [1] http://nicholaskariniemi.github.io/2014/01/26/clojure-compilation.html [2] http://nicholaskariniemi.github.io/2014/02/06/clojure-compilation2.html [3] https://clojuredocs.org/clojure.core/load-file [4] https://clojuredocs.org/clojure.core/load [5] https://clojuredocs.org/clojure.main/load-script Thanks, Lasantha On 22 November 2014 at 09:15, Srinath Perera <[email protected]> wrote: > Would that needs tools.jar in the classpath? > > One advantage of scala are lamba function (e.g. see Sameera's slides on > java 8) .. but disadvantage is you need to learn scala a bit. > > --Srinath > > On Fri, Nov 21, 2014 at 4:43 PM, Rajeev Sampath <[email protected]> wrote: > >> >> On Fri, Nov 21, 2014 at 10:40 AM, Srinath Perera <[email protected]> >> wrote: >> >>> Useful to have in competition with Storm. Performance is the concern. >>> >>> One ida is to get extensions as scala function and running is using >>> https://code.google.com/p/scalascriptengine/ >>> >>> >> This will be a very useful feature to have. >> >> Also another option is to let users embed plain java code inline, and >> then convert it to bytecode at the query initialization time with a >> bytecode generator like Javassist. >> http://www.csg.ci.i.u-tokyo.ac.jp/~chiba/javassist/ >> >> >> Thanks >> Rajeev >> >> >>> WDYT? >>> >>> --Srinath >>> >>> -- >>> ============================ >>> Blog: http://srinathsview.blogspot.com twitter:@srinath_perera >>> Site: http://people.apache.org/~hemapani/ >>> Photos: http://www.flickr.com/photos/hemapani/ >>> Phone: 0772360902 >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> Rajeev Sampath >> Senior Software Engineer >> WSO2, Inc.; http://www.wso2.com. >> >> Mobile: >> * +94716265766 <%2B94716265766>* >> > > > > -- > ============================ > Srinath Perera, Ph.D. > http://people.apache.org/~hemapani/ > http://srinathsview.blogspot.com/ > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- *Lasantha Fernando* Software Engineer - Data Technologies Team WSO2 Inc. http://wso2.com email: [email protected] mobile: (+94) 71 5247551
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
