I'd say function is good until we have a compelling reason for something else.
Sent from phone, thus brief. Am 22.05.2015 22:41 schrieb "singh.janmejay" <[email protected]>: > So between > - function > - keyword > - function with named args > ? > > On Sat, May 23, 2015 at 2:03 AM, Rainer Gerhards > <[email protected]> wrote: > > I don't have concerns about some functions but going OO, lua or anything > > Turing complete. > > > > Sent from phone, thus brief. > > Am 22.05.2015 22:22 schrieb "singh.janmejay" <[email protected]>: > > > >> Just for clarity, by functions I mean in-built rainerscript functions, > >> not user defined functions. > >> > >> On Sat, May 23, 2015 at 1:49 AM, singh.janmejay > >> <[email protected]> wrote: > >> > I don't think a rich set of functions make it as complex as a > >> > full-blown programming language. Majority of richness of a real > >> > programming language comes from compositions over user-built > >> > constructs. Functions are just allowing for richer manipulation of > >> > control-flow and log-content, but not composition of user-created > >> > constructs (say structs, objects and methods, closures etc). > >> > > >> > I personally feel things like include or hasItem should be available > >> > as functions (external module sounds like an overkill for this). But > >> > for xml-parsing, a separate module makes total sense. > >> > > >> > On Sat, May 23, 2015 at 1:42 AM, singh.janmejay > >> > <[email protected]> wrote: > >> >> At the risk of digressing a bit, in some benchmarks I did in 2013 > >> >> luajit came out to be 2x to 4x faster, but its nowhere close to as > >> >> pluggable, doesn't give very clean hookup points etc. > >> >> If ever, i'd bet on Lua. > >> >> > >> >> On Sat, May 23, 2015 at 1:37 AM, Marcus Rueckert <[email protected]> > >> wrote: > >> >>> On 2015-05-22 21:58:30 +0200, Rainer Gerhards wrote: > >> >>>> Use cases? > >> >>>> (Maintenance) effort required? > >> >>> > >> >>> 10 years is quite some time. especially luajit seems to kick ass in > the > >> >>> speed department. look at Snabb Switch e.g. also the powerdns team > >> >>> reported some nice numbers for their lua based things > >> >>> (pdns,pdns-recursor,dnsdist). and nice speedups when they started > >> >>> testing with luajit. > >> >>> > >> >>> darix > >> >>> > >> >>> -- > >> >>> openSUSE - SUSE Linux is my linux > >> >>> openSUSE is good for you > >> >>> www.opensuse.org > >> >>> _______________________________________________ > >> >>> rsyslog mailing list > >> >>> http://lists.adiscon.net/mailman/listinfo/rsyslog > >> >>> http://www.rsyslog.com/professional-services/ > >> >>> What's up with rsyslog? Follow https://twitter.com/rgerhards > >> >>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > >> myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST > if > >> you DON'T LIKE THAT. > >> >> > >> >> > >> >> > >> >> -- > >> >> Regards, > >> >> Janmejay > >> >> http://codehunk.wordpress.com > >> > > >> > > >> > > >> > -- > >> > Regards, > >> > Janmejay > >> > http://codehunk.wordpress.com > >> > >> > >> > >> -- > >> Regards, > >> Janmejay > >> http://codehunk.wordpress.com > >> _______________________________________________ > >> rsyslog mailing list > >> http://lists.adiscon.net/mailman/listinfo/rsyslog > >> http://www.rsyslog.com/professional-services/ > >> What's up with rsyslog? Follow https://twitter.com/rgerhards > >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > >> DON'T LIKE THAT. > >> > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > > > > -- > Regards, > Janmejay > http://codehunk.wordpress.com > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

