Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106474 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50779 invoked from network); 9 Aug 2019 10:11:10 -0000 Received: from unknown (HELO mail-vk1-f174.google.com) (209.85.221.174) by pb1.pair.com with SMTP; 9 Aug 2019 10:11:10 -0000 Received: by mail-vk1-f174.google.com with SMTP id o19so19321778vkb.6 for ; Fri, 09 Aug 2019 00:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BbPXX6sF/V6WOLCCpfoPS+OIH78HcgmuVJGcGJjtRNE=; b=lQrWs7JcOx/urU2b7O3ECha6usJfd2QHG/6aRuGl0xsyIJnrkfaa1gQ/a6JQiRYPkF JeUnV+sQbN/2WP+mqr2FNhKV3cforQVMkVZqahB0hRpc4Xij5fqCzuZjtyt3jON+aIuT lOrFHSKLZyzaBtb9VNGrkA0Yz2WZTLNlFCrNRR5eaKQxNRp33kTNcM04TuO7LQQG75oq FCCI4Tr4cV1nkvH4F4xCCkh3P77OGRlAmKACCAi1nVKV4TgIFfBCxgs3IVBA2RwsOmUb 4UQdeDVJrAwA68yD5hAsmLkZJIVLBK0a+syOQLmChKOGthtBP2o3TuB12843TLyG9b0J HTVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BbPXX6sF/V6WOLCCpfoPS+OIH78HcgmuVJGcGJjtRNE=; b=GOA2/WEbAgRjSUt97xErrBtgs1xcdguC6l/Azy3QTXsmJPNI1LMaEzIrlKFvJMvvxJ AF0r3FGYD3AglGosIilFKVza9woBluVY2KzrXxHUSWxsPibDJ5PQzZWGfYabQmk1niUk aROx1oQy4H7HsMtNlVY66v6ZHwvUReYvKJVZ5vQmSnYH5tgVks27KoM67nWTxdduBtmT zQfaBVBXihdPuju1sRXZP8See0qBAHmB0IiiLBOUah/lfg/2/3wnYr90xpJQrd0ooyTJ vWB4ZwdrVk9MgA5Q3E64WiObLN0rTVWWz2Unat4wAOuwDOBkKg9Pla1lrSYpPb6DL+V5 E7Tw== X-Gm-Message-State: APjAAAWfJCPjHsq4O5xsAmbQmIT5jLrtcAHyY+U2ciNf1vMZ1mYHZ04b TPOuHcPM4kkxK1GpqLQBkRqL7k4H8G5rFznAvSo= X-Google-Smtp-Source: APXvYqww5FQ7QzFPrKDTcVnI+KQhHXJcg72LANMZW6CxPCy0fvP0gIE8dcTfoPTMD3xu9ToqPiVKHWOxePJy3gPEYwU= X-Received: by 2002:a1f:8641:: with SMTP id i62mr7533776vkd.79.1565336310337; Fri, 09 Aug 2019 00:38:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 9 Aug 2019 09:38:18 +0200 Message-ID: To: Kris Craig Cc: Nikita Popov , Zeev Suraski , Internals Content-Type: multipart/alternative; boundary="000000000000bb56e3058faa426d" Subject: Re: [PHP-DEV] Bringing Peace to the Galaxy From: krakjoe@gmail.com (Joe Watkins) --000000000000bb56e3058faa426d Content-Type: text/plain; charset="UTF-8" *alongside patch Cheers Joe On Fri, 9 Aug 2019, 09:33 Kris Craig, wrote: > On Fri, Aug 9, 2019 at 12:22 AM Nikita Popov wrote: > > > On Thu, Aug 8, 2019 at 11:25 PM Zeev Suraski wrote: > > > > > > > > > > > On Fri, Aug 9, 2019 at 12:02 AM Nikita Popov > > wrote: > > > > > >> This is basically what I have been advocating for a while now already, > > >> somewhat hidden between all the other noise of the "namespace-scoped > > >> declares" thread. The model I would like to follow are Rust editions ( > > >> https://doc.rust-lang.org/edition-guide/editions/index.html). In PHP > > >> right now, the way to do this technically would be based on a > > >> declare(edition=2020) in every file. I was hoping to make this a > > >> per-package declaration instead, but haven't found the perfect way to > do > > >> this right now. > > >> > > > > > > I think it's similar, but not quite the same, at least as far as what I > > > understood from what you were saying on that thread (I just reread it). > > > First, I think it's important we don't only focus on what we're going > to > > > change - but also on what we're going to keep. The motivation should > not > > > be slow eventual migration from one codebase to another. We would have > > > two, long-term supported codebases - a lot closer to C and C++ than to > > > different editions of a single language. The distance between them > would > > > be quite substantial from the get-go - and will likely grow farther as > > time > > > goes by, similarly to the situation with C and C++. > > > > > > > I think this part is unrealistic from a simple manpower perspective. We > > have something like ~2 full time developers working on PHP. Even if you > can > > rally some additional interest around this idea, I don't think we have > the > > resources to create a *substantially* different language in any > reasonable > > amount of time. Doing feature additions and changes to PHP is Hard. Even > > simple changes require a fair bit of design and engineering effort to > > integrate with the large complexity of the existing language. This would > > not change for a hypothetical P++, because we still need to interoperate > > with PHP. > > > > Even if I agreed with the idea (which I'm pretty skeptical about in this > > particular form), I really don't think we have the resources to do > > something like this. > > > > Nikita > > > > > I think it should also be pointed out that there's nothing stopping anyone > from forking PHP into a new project as Zeev described and maintain feature > parity. As I understand, the reason something like this hasn't happened > already is because it would involve a ton of work and nobody wants to deal > with it. But if you or anyone else does manage to put a team together and > make something like this happen as a separate project, I'd certainly have > no objection. > > --Kris > --000000000000bb56e3058faa426d--