Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112060 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20741 invoked from network); 15 Oct 2020 06:31:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Oct 2020 06:31:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1430C180511 for ; Wed, 14 Oct 2020 22:46:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 14 Oct 2020 22:46:57 -0700 (PDT) Received: by mail-vs1-f51.google.com with SMTP id r24so784795vsp.8 for ; Wed, 14 Oct 2020 22:46:57 -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=BtQggPoWeheGQFbnc1N8/ggIg9tRDULFwlPSq7CcQEE=; b=Lsinvo+6vz9t75J9g1xwXvbI1In5wBIiYfpr7zAIss5SgzGoyNv4tYycjxlNKFG28/ Zh4QNMoSi97aT0dLEwOgLbmpBRzeXZ83TIA4A7Z6Y8kwJZX6ZkCXjKJThcWkmNTwOLXF Ux6fxkc9i1ShjBKGUXVNuG1yhu1CE3p4BtmuCUXcCMIsA3anv5Z/w5rV45dZ+tv/BLjX oGxO+9X5Sv1O2zKnant3Y2lUNNiZGoSDYGQxbs/BVhnwY7JbCF4SdWdESbEHzqtfUZ4w 88uzCDG7slrSwKxGdztV0ZRVevEYGS2PitOrUNWwd/XfP1H9NJfJxZ9nZiiTqEYZFKgL v/wA== 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=BtQggPoWeheGQFbnc1N8/ggIg9tRDULFwlPSq7CcQEE=; b=G/WaBrSssDJLKNaBFN9QxjyjJiVs4h6EybBcSw7CXusLcPwaXq/Lu7VriXywX8TlW/ I4xQCQBCRL6RwASUhErrhgFvPDv5RYM2SEFanAUpn8JJzISY85pb+pIFo5f/ATmfS02j TP5Pszxx9rSWlqCZNqVCpaXJbTpZY/cFLvkXhDnNlS/BO20L+i9qEyNELECebbQWWvZn 7vB6Zye/BYc5UEPh+yplXm5oio7GbTTRJVp/a//oMvKxBY0UJVbvncjXr+4PYyG0lvCp JCgc4gLlrL9r0QdKjbibg7/hErNH+8aYF7QHNh28qHP8Xv0nQQotRNeFJIs3I7e2P6jE ktxw== X-Gm-Message-State: AOAM530HgmMM+77O1nTqBY8xMXgjuvV4hkPTQUVA/b9iJh7J8fAj+PHe 60kOKJsk8lZPVaeFRunDDJ8hNGAicfXPd0DiJmw= X-Google-Smtp-Source: ABdhPJzt9SkB5EA3s8GnsgIpUzJhTG81ok3VjdHi3SC0Zd8ggzU0hFsovQo1GYzDJDqFAbWYGjjHsphH5JZIlJR7keg= X-Received: by 2002:a67:33d1:: with SMTP id z200mr1478244vsz.48.1602740811676; Wed, 14 Oct 2020 22:46:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 15 Oct 2020 01:46:40 -0400 Message-ID: To: Sara Golemon Cc: Dik Takken , Larry Garfield , php internals Content-Type: multipart/alternative; boundary="000000000000bf435205b1af2cae" Subject: Re: [PHP-DEV] PHP 8 release announcement page on php.net From: matthewmatthew@gmail.com (Matthew Brown) --000000000000bf435205b1af2cae Content-Type: text/plain; charset="UTF-8" > > > or https://psalm.dev/ (open source) are projects in that area > > (Matthew Brown is one of the authors of Psalm) > > > I don't like the idea of executing that on www.php.net for a few reasons, > but someone else mentioned the possibility of donated cpu time from > somewhere that's worth a conversation. > > > - A WebAssembly solution, e.g. https://phan.github.io/demo/ > > (forked from https://oraoto.github.io/pib/) (I'm one of the maintainers > of Phan) > > > Honestly, I like this solution best. There are drawbacks, and we'd > probably need to suppress it in certain reference chapters (e.g. mysql, > since there's no DB to talk to), but damn if it don't feel skippy trying it > out just now. (On my admittedly well connected, beefy dev workstation) > > -Sara > I don't think Tyson was suggesting running Psalm on php.net, merely showing it as an example of a server-based approach. Ironically I added that server-based demo because I was so taken by the client-side one on hacklang.org which ran a version of Hack's typechecker transpiled from the original Ocaml (it sadly doesn't work any more). I think the WASM solution would be great. The 2MB download would be cached between pages, and a simple bit of JS would ensure it was only downloaded when a user wanted an interactive mode, and only on browsers that could run WASM. There'd also be the novelty of a mature language ecosystem relying on a new, hip, technology. All the kids would love it. --000000000000bf435205b1af2cae--