Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72652 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30414 invoked from network); 17 Feb 2014 09:20:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2014 09:20:15 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.181 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.220.181 mail-vc0-f181.google.com Received: from [209.85.220.181] ([209.85.220.181:39757] helo=mail-vc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/2C-56374-D44D1035 for ; Mon, 17 Feb 2014 04:20:15 -0500 Received: by mail-vc0-f181.google.com with SMTP id ie18so11571244vcb.12 for ; Mon, 17 Feb 2014 01:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=UsYEcEE0OfhVHIAYTu0IiA3odrKpQrl9cugxPV/XqQA=; b=mOEACrjogcZsMOfTBaVjLdAMq+KI+zUH6/Qnl8IxipK0l6si2cjhrAxYWBt4CoLSS7 FUKPVKnRMBIWGup7SjVmyMrGY1rjEulkQbs2R/U3gklxbAI5xuWVfkO7E26oSs3PJmmW Kzbx4MNtHIUgCcGJetIvpOfdAkMGzRZKsX5ZfZYO3FzTL1+NEsmQgofGs7VdxMWUnVCu UpNVCzNMlgEkUBJscrtw28xlMHKPaV3dSS/7n2SSv4TfqinrGdXLjOiwJmH1GPZnQ3m7 IgIg9tckFoZ+fNOdcDflQT7EiAxXFXViqNmvp/C7greAkikZy6GaPvWfmVvAyBl0QO6v Mw+A== X-Received: by 10.52.185.196 with SMTP id fe4mr10212670vdc.27.1392628811147; Mon, 17 Feb 2014 01:20:11 -0800 (PST) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.221.8.129 with HTTP; Mon, 17 Feb 2014 01:19:31 -0800 (PST) In-Reply-To: References: Date: Mon, 17 Feb 2014 10:19:31 +0100 X-Google-Sender-Auth: _bdP_66bd31rfuay_3aZ4FB6S7s Message-ID: To: Pierre Joye Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] my take on PHP 6, part 2 From: jpauli@php.net (Julien Pauli) On Mon, Feb 17, 2014 at 7:28 AM, Pierre Joye wrote: > hi, > > I put my thoughts and summary of the recent discussions about what > could be PHP 6 here: > > https://wiki.php.net/ideas/php6 > > Things like "we should name it php7" has not been covered, for one > obvious reasons. > > It is not a TODO list but a list of proposals I would like to see us > discuss, work on, push harder. They are features, changes, etc. I have > been hearing for years and things we should really give more > attention. > > Please do not mass reply to this thread but prefer to create one new > thread per topic. Who knows, we may get enough input to create one > wiki page per topic. And if you are lucky enough, we may even have > some working groups for each of them? > > Happy reading, comments, feedback and the likes welcome! > I'd add : - Change compiler design : build a new hookable AST-based compiler that would allow modules (extensions) to hook into the AST for custom compilation rules. - Start a reflection about threaded VM : We could start designing a threaded model and use it for I/Os at first. Our VM should be able to do several things at the same time and we should prevent it from waiting for operation results (I/Os). - If we could redesign objects and arrays so that they could be interchanged in many functions accepting arrays would be nice. Both arrays and objects could share a common structure holding the data that would be used when using such functions. - Add new structures such as Generics, we need that - Extend type hinting to scalars - Improve PHP syntax so that compiler can make optimizations, such as having allowing the declaration of read only variables : "public static const $a". More ideas to come... Julien