Re: [php6] Unicode support, options?

From: Date: Thu, 20 Feb 2014 16:25:44 +0000
Subject: Re: [php6] Unicode support, options?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-72717@lists.php.net to get a copy of this message
On Thu, 2014-02-20 at 16:48 +0100, Ivan Enderlin @ Hoa wrote: > Hello :-), > > > On 20/02/2014 16:44, Pierre Joye wrote: > > Also pure c++ api is not an option yet. Unless we rewrite php in c++ but > > then I would go with a 3-4 years Dev phase, not really what I am looking > > for. > Several projects use a mix of C and C++ (the first name that comes in my > minds is Gecko). That's not a bad thing. Mixing to some degree is fine. The issue here is that essentially all our source files become C++ files as basically everywhere we need string APIs ... ok, we might abstract away most common things behind C wrappers but then we get a fancy mix where we can't use the good parts of C++ but are bound by C's limitations. Not really good for having maintainable clean code. Pure C++11 could bring nice code (with some C++ weirdness) but that's a rewrite, not an evolution. (-> HHVM). In PHP's context C++ is good to use in individual libraries (i.e. ext/intl) but not for core foundation things. Unfortunately. johannes

« previous php.internals (#72717) next »