Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68708 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99399 invoked from network); 30 Aug 2013 08:57:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 08:57:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 74.125.83.46 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 74.125.83.46 mail-ee0-f46.google.com Received: from [74.125.83.46] ([74.125.83.46:57160] helo=mail-ee0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/06-64695-36E50225 for ; Fri, 30 Aug 2013 04:57:09 -0400 Received: by mail-ee0-f46.google.com with SMTP id c13so768209eek.33 for ; Fri, 30 Aug 2013 01:57:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=wYbsjB5zgirmUWkMH2rid24Qs6yQ3XnHgkN6sBcsEjg=; b=i0shRzjupe0sKWnYmjgB0gFDd5Vo1LERRQzQbmNwlXVdmY7a0Ivi2DAGxUVbr0h+CA fM+CSt4wMWvhbiAG2w6O4fqxjcP3TYY8o/YmW8kHnIgCYqakpWjj42O44bcwqZC8d1CT Hv3sRgmRYL2CZHf8q64+1BIfps48Wkj6h0GHRPUZAntmsvFv8hG93Ft2AbYy4qNXzSeQ V7qbZ4F4yCIGxWLmuLAYtqoHhcwq9achSojoZ19r1YXIhBXh5IxtEbjLw/TVf3+/6wlO rQZQ9h50p/UcsnVbB8XI8Xi+5bV9Kv7i1rQFz9pcdByp9NnlI5wn/Ay87Ee7qKloKpbQ Cy5g== X-Gm-Message-State: ALoCoQk59eXxQhkjwvkP494BXcQbSHgfCVMDIM3vT0atV7hgVqAiq+Tewol+KpJTFprjLqstTFYy X-Received: by 10.14.176.8 with SMTP id a8mr11101869eem.12.1377853024918; Fri, 30 Aug 2013 01:57:04 -0700 (PDT) Received: from [192.168.1.97] ([92.70.226.166]) by mx.google.com with ESMTPSA id r48sm52876195eev.14.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 Aug 2013 01:57:03 -0700 (PDT) Message-ID: <52205E39.5020202@seld.be> Date: Fri, 30 Aug 2013 10:56:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: internals@lists.php.net References: <521EE223.9060702@fedoraproject.org> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Switch from json extension to jsonc [Discussion] From: j.boggiano@seld.be (Jordi Boggiano) On 29.08.2013 09:52, Zeev Suraski wrote: > I have to say that I'm not wildly enthusiastic about making this change over > what appears to be a fairly minor comment in the license, and without even > going into the discussion as to why we want to promote Evil :) > > The main concerns I have are: > * Downwards compatibility. We've found one potential issue, how can we > guarantee that there aren't others when we deal with a completely different > implementation? I think that users that bump into apps suddenly breaking in > obscure edge cases will not be very understanding when we explain to them > that we did that over a licensing quirk - that I'm willing to bet they'll > say isn't applicable to them... > * Performance. Again, for the same reasons, I think it'll be difficult for > us to defend this decision in this context as well. We switched to a 2x > slower implementation over this? Really? > > I think that a better alternative would be enabling ext/jsonc to take over > the ext/json symbol space so that people who care about the license issue, > and/or are interested in the extra features - will be able to take advantage > of it as a drop-in replacement. Debian can come with this switch turned on. I think it'd be best to resolve this in PHP because otherwise it means Debian (& Fedora?) users will have the bad surprise of a quirky implementation when deploying to prod, and I can imagine the impossible-to-reproduce issues that will follow. That said, your last proposal of at least having a switch in php like --enable-evil-json sounds better than the current state. If we do have an equivalent implementation though we might as well throw away the existing one instead of keeping two IMO, but that's a detail. Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi