On Sat, Oct 10, 2009 at 4:00 AM, OvermindDL1 <[email protected]> wrote:
> On Sat, Oct 10, 2009 at 3:14 AM, Wim Dumon <[email protected]> wrote:
>> In addition to Overmind's reply: There is a wiki page that describes
>> the installation process on a clean windows PC in detail:
>> http://www.webtoolkit.eu/wt/wiki/index.php/Installing_Wt_2.1_on_MS_Windows
>>
>> It even covers the installation of the compilers and all required
>> dependencies. Always interested to hear if these don't work for you...
>
> Ah, I did not see that page, it seemed quite painless to me though,
> seems like a well designed library.
>
> The Wt crash when missing the config file happened just after the stat
> call, it started to create the parser for the file, but never
> initialized the memory for it, and ended up crashing when it tried to
> read an std::string.  I fixed that rather quickly (and recompiled Wt
> to point to some place other then a C: drive as a default location, I
> do not have a C: drive, my boot drive is G: and my windows install is
> on F:, don't ask, this computer is an evolution of 15 years of
> upgrades...).  It might have been due to more of the drive missing
> rather then the file, I am not sure how stat handles that (I am not
> sure why stat is being used, why not just open the file without
> creation and see if you get a valid handle back, it is supposed to be
> more optimized to do it that way as well).
>
> I did notice some places where Spirit.Classic is used.  If you
> upgraded it to Spirit2.1 (or 2.2 in trunk) you would be a rather
> significant speed boost in execution speed for that code (Spirit2.x
> outperform Spirit.Classic by *far*, and it is a lot easier to use as
> well).  If you wish I could bcp out the Spirit2 code so it is
> self-contained (I could actually do that to all the used boost
> libraries if you wish, then you would not need boost as a requirement,
> although everyone should have it anyway in my opinion) in case they do
> not have 1.41.  I could easily make the conversion if you are curious,
> I know Spirit *very* well.

Also if you upgraded Boost.Signal to Boost.Signal2 you would also get
a healthy speed-boost as well (requires some code changes).  Signals1
has a lot of inefficiencies that hobble it down, hence the redesigned
Signals2 being vastly more efficient (and can be properly thread-safe
too if you so wish, unlike Signals1).

------------------------------------------------------------------------------
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

Reply via email to