[wx-discuss] wxSocket rewrite using Boost.Asio

Stefan Csomor csomor at advancedconcepts.ch
Thu May 22 20:24:20 PDT 2008


Hi

On 23.05.08 03:06, "William H. Schultz" <whschultz at cedrus.com> wrote:

> I'm about to undertake a major rewrite of my socket code, and I'm
> leaning toward reimplementing wxSocket to use Boost.Asio (vs.
> replacing wxSocket in our code with Boost.Asio).  Regardless of
> whether the code goes into the official wxWidgets, I have to do
> something.  I just thought I'd open this up for discussion here to see
> what you guys think.
> 
> For those of you not familiar, the documentation is here:
> http://asio.sourceforge.net/boost_asio_1_0_0/libs/asio/doc/html/index.html
>    As of Boost version 1.35.0, Asio is part of the library.
> 
> My biggest concern is that in a ground-up rewrite, I may not be able
> to make it 100% backwards compatible.  But considering how much work I
> had to put into getting my code to work with the existing bugs and
> weaknesses in wxSocket, I'm not certain that this would be a big
> deal.  Furthermore, this would make wxWidgets dependent on the boost
> libraries, but I'm not certain that's such a bad thing, as boost has a
> lot to offer.

that's 100 % on the line of what I think the future of wx should be,
leverage what's there and proven, and if we really want to make things
better, backwards compatibility shouldn't be the reason for not doing it ..

Best,

Stefan





More information about the wx-discuss mailing list