Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72717 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15494 invoked from network); 20 Feb 2014 16:25:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2014 16:25:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:56242] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/19-00813-F8C26035 for ; Thu, 20 Feb 2014 11:25:52 -0500 Received: from [192.168.2.31] (ppp-88-217-70-150.dynamic.mnet-online.de [88.217.70.150]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id AE29E4638E; Thu, 20 Feb 2014 17:26:30 +0100 (CET) To: "Ivan Enderlin @ Hoa" Cc: internals@lists.php.net In-Reply-To: <530623CD.7010605@hoa-project.net> References: <53061982.2050901@googlemail.com> <530623CD.7010605@hoa-project.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 20 Feb 2014 17:25:44 +0100 Message-ID: <1392913544.3990.847.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [php6] Unicode support, options? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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