[wx-discuss] wxSocket rewrite using Boost.Asio

Kevin Ollivier kevin-lists at theolliviers.com
Fri May 23 09:01:28 PDT 2008


Hi Vadim and all,

On May 23, 2008, at 5:30 AM, Vadim Zeitlin wrote:

> On Thu, 22 May 2008 18:06:49 -0700 "William H. Schultz" <whschultz at cedrus.com 
> > wrote:
>
> WHS> I'm about to undertake a major rewrite of my socket code, and I'm
> WHS> leaning toward reimplementing wxSocket to use Boost.Asio (vs.
> WHS> replacing wxSocket in our code with Boost.Asio).
>
> Replacing wxSocket with a 3rd party library is definitely very, very
> tempting, I'm sure that ASIO is much better than the existing code.  
> The
> problem is whether we're going to be able to preserve the existing API
> (even if not 100%, but at least 90%).
>
> However I imagine that not everybody would be happy with requiring  
> Boost
> to build wx and, worse, ASIO doesn't seem to support VC6 which we're
> apparently not ready to abandon yet. So while I personally would  
> like to do
> what you propose provided backwards compatibility could be more or  
> less
> preserved, I'm afraid VC6 is going to be the sticking point :-(

I'm beginning to think the slogan for wx should be "let's program like  
it's 1999!" ;-) The rest of the world is moving on (in fact, VC6  
hasn't been available for purchase for half a decade), and if wx  
doesn't move on too, users will leave it behind just like they did VC6.

For users who refuse to change and update, there are always the  
existing and old versions of wx. And that's how any development  
process should work, because the toolkit today should focus on the  
needs of the users today (and, more importantly, tomorrow), not focus  
on keeping apps written 10 years ago from breaking. If a particular  
app developer doesn't want to change and update their code, or can't  
afford to over the course of several years, they don't have to change  
their wx version - the old one will run as it always did.

+1 to Stefan's ideas.

Regards,

Kevin

>
> Regards,
> VZ
>
> _______________________________________________
> wx-discuss mailing list
> wx-discuss at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-discuss



More information about the wx-discuss mailing list