This is completely off topic, but you say spirit > ANTLR. By that I'm assuming you mean bison or lemon are slower at runtime than spirit? Very interested in this. :) -sc
-- Sean Chittenden On Oct 20, 2009, at 12:49 PM, OvermindDL1 <[email protected]> wrote: > On Tue, Oct 20, 2009 at 6:04 AM, Koen Deforche <[email protected]> wrote: >> We also noticed some warnings / complaints about or spirit code. >> Spirit is only used in very modest ways, and nowhere near time >> critical code (based on lots of profiling runs). But it seems like we >> will need to upgrade simply because we are now using deprecated API ? > > Correct, you an still use the ancient Boost.Spirit1, but it is renamed > to Boost.Spirit.Classic in 2.1 and above, and its use is not > recommended. It is slow to run and much more difficult to use. > Boost.Spirit.QI (the direct descendant of the old Boost.Spirit1) runs > much faster (well outperforming everything else yet tested, from ANTLR > to old business heavy optimized parser, Boost.Spirit.QI is simply > amazing in its speed) and is *much* easier to use (the grammar code > for Boost.Spirit.QI tends to be well less then 10% of the equivalent > Spirit1 code, and is a lot easier to read to boot). In Boost 1.42 or > so the old headers you are using will be removed and no longer usable, > the headers will need to be changed to the Boost.Spirit.Classic ones > instead, but it is better to switch to Boost.Spirit.QI instead. > Spirit2.1+ also added Boost.Spirit.Lex (a lexer, not really useful if > you use QI as QI does all it can and more in one much faster step), > and Boost.Spirit.Karma (the opposite of QI, allows you to write > outputting grammars in the Spirit style). > > > On Tue, Oct 20, 2009 at 6:04 AM, Koen Deforche <[email protected]> wrote: >> I had not heard of bcp before... but it sounds really really >> interesting. Getting and building boost (and finding it) is a serious >> hurdle for getting Wt built, especially for developers who do not use >> boost. So it sounds like we could set it up that we include the >> relevant parts of boost in our distribution with a configuration >> option to use a system-installed boost or our own distributed boost >> libraries ? > > bcp has existed in the Boost Tools for a very long time now, it is > pretty ancient, but *extremely* useful. :) > > > On Tue, Oct 20, 2009 at 6:04 AM, Koen Deforche <[email protected]> wrote: >> About Boost.Signals2: we did look into it, but I am afraid that we >> cannot benefit from signals2 new multi-threading capabilities because >> we are not relying on shared pointers for widgets. So we still will >> need to use boost::signals2::trackable. In any case, I am again not >> too concerned about a possible speed gain since profiling does not >> show boost signals anywhere near our critical execution path. But it >> might be nice to move to a newer library in any case ? > > Boost.Signals will be kept so no worries about that, but > Boost.Signals2 is still supposed to be a good deal faster with > identical usage. > > > I have used Boost and many of its libraries for years. If you wish I > can BCP out what you need (and maybe some other useful things like the > shared pointers and other such things that client apps might want to > use) so Boost is not a prereq for using Wt. I can also update the > Boost.Spirit grammars to 2.1 as well. > > --- > --- > --- > --------------------------------------------------------------------- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
