From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: HaiJun Zhang Newsgroups: gmane.emacs.bugs Subject: bug#38807: [Feature request]: Support lisp workers like web workers. Date: Fri, 3 Jan 2020 09:49:44 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="5e0e9dbd_5953172f_4379" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="246485"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "38807@debbugs.gnu.org" <38807@debbugs.gnu.org> To: Eli Zaretskii , Michael Albinus , arthur miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 03 02:51:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1inC7L-0011z5-Ql for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jan 2020 02:51:12 +0100 Original-Received: from localhost ([::1]:47738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inC7K-0003dg-9g for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jan 2020 20:51:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inC7D-0003d8-K2 for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 20:51:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inC7C-00060w-IF for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 20:51:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inC7C-00060V-EL for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 20:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inC7C-00009t-Bx for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 20:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: HaiJun Zhang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2020 01:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38807 X-GNU-PR-Package: emacs Original-Received: via spool by 38807-submit@debbugs.gnu.org id=B38807.1578016204526 (code B ref 38807); Fri, 03 Jan 2020 01:51:02 +0000 Original-Received: (at 38807) by debbugs.gnu.org; 3 Jan 2020 01:50:04 +0000 Original-Received: from localhost ([127.0.0.1]:40268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inC6G-00008Q-Cq for submit@debbugs.gnu.org; Thu, 02 Jan 2020 20:50:04 -0500 Original-Received: from mail-oln040092255092.outbound.protection.outlook.com ([40.92.255.92]:3200 helo=APC01-HK2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inC6D-00007q-QJ for 38807@debbugs.gnu.org; Thu, 02 Jan 2020 20:50:03 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+nTyeXzTkJBz2nZqxhYQSCvCgA6iBxG073268MjrpmX8hPhn4Idrky8fwUo8v1Y/PymEkHhUnyYtdmCYkNzlpZtKf+DPswXmrGzUydcNg3NK7BGQHoNK3jFbxM9nrG6Glu4/0y22OuyiTkIovDVqVoUjfvCqkFXXnOulP4An40VPrPRowY/M/0q4yWH8DS5v5KnDnhU2/ZJWUja1tzUDKJ9XAfU8TLVz2nW3W8uKTOz92UNGJD8ulRynyKCnm0PTgFo9x40KAW+EBeixIcVDNJbZmMnvIPuwGgGU/kuKIQ0tXwZbEAglWCA/KLKtX4mFOaJUrwyXbLrrKRYD8nCaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JksEqjRClYkdpHF99WOxWjeWfRBn4yiHRIU4AhJdmcA=; b=djVuSAo7Mv2IfX7P6ofpAYD6ueH0JS21SZcoFEGwN5aoRLJBQJuzmKMueX6nx9OjrVi5g2uVVu3cTBY7FYAHseYIsvhaSAEN2sT0CSDUyTMBGttKRkmkhIG/NPkITKxE3N5KEZcx99vOaZCAnAPbxDp5oRsYdf0DpqkyMjH+1j76OCzsZGzE/P5DWVbgbE/f17EgE/4YjnN7ehJ1Nl/t42lrU7e60kiXxE6I3UdGWHA3EN+8My2zlWM8yfXp5++cKJXe3hy3+Tnm1G7tUeD+qHLmZ52CdD3/O4xKtya1KtxPf7DxPLDR05V/wjqc8tmg6SIFBS4LzFjD4UcDl4XDwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=outlook.com; dmarc=pass action=none header.from=outlook.com; dkim=pass header.d=outlook.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JksEqjRClYkdpHF99WOxWjeWfRBn4yiHRIU4AhJdmcA=; b=gb2WNPq4vdcU5IIVT+VN76KTYMKUPNiF4TjzI3GtlQF3EDMX9pef3GjpTAc52OwRTxGvjdbRe+AKv0OZ9VRK88ZWJvr/Mpi+d4+w93FQ1ztFDqOP4Bb/5L9Wk+A5V3WpxWw+cVFcLZ9i3+4Y2DZz9UcB8+8DaD3hHEFEVWPBKCHWyhq0hJ4QH9myP9191EypAlm6j22x2/mSNkwEaV93SCltpnVV2BjF91Ae9SaLcj7HAJnIvmJXyuqZNsQQS3/Wc7pnir839xppc/+3QZRZhbxYTwWce8FiO5sEQPISimIWY918VHFFkr+GeRj/XIMa30oIxw/M5IYFDpCYoeLVoA== Original-Received: from HK2APC01FT036.eop-APC01.prod.protection.outlook.com (10.152.248.55) by HK2APC01HT053.eop-APC01.prod.protection.outlook.com (10.152.249.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11; Fri, 3 Jan 2020 01:49:53 +0000 Original-Received: from PS1PR03MB3606.apcprd03.prod.outlook.com (10.152.248.53) by HK2APC01FT036.mail.protection.outlook.com (10.152.249.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Fri, 3 Jan 2020 01:49:53 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:822886DB4BF85D2DAC290FCC1DB399ABDC6C11ECF1A41EB96D432FA937CAD98C; UpperCasedChecksum:18CB45ED8F4328D390F2EF39B39D248FCA2D0D1A394C7BF9F14141BD641EC7C2; SizeAsReceived:8914; Count:48 Original-Received: from PS1PR03MB3606.apcprd03.prod.outlook.com ([fe80::b470:80bc:efed:9117]) by PS1PR03MB3606.apcprd03.prod.outlook.com ([fe80::b470:80bc:efed:9117%7]) with mapi id 15.20.2623.002; Fri, 3 Jan 2020 01:49:53 +0000 In-Reply-To: X-Readdle-Message-ID: 1c1f0da2-97dd-48e1-917c-dc0dd8605aa9@Spark X-ClientProxiedBy: HK2PR02CA0206.apcprd02.prod.outlook.com (2603:1096:201:20::18) To PS1PR03MB3606.apcprd03.prod.outlook.com (2603:1096:803:4e::17) X-Microsoft-Original-Message-ID: <1c1f0da2-97dd-48e1-917c-dc0dd8605aa9@Spark> Original-Received: from [192.168.1.103] (1.193.170.223) by HK2PR02CA0206.apcprd02.prod.outlook.com (2603:1096:201:20::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Fri, 3 Jan 2020 01:49:52 +0000 X-Readdle-Message-ID: 1c1f0da2-97dd-48e1-917c-dc0dd8605aa9@Spark X-Microsoft-Original-Message-ID: <1c1f0da2-97dd-48e1-917c-dc0dd8605aa9@Spark> X-TMN: [VnA+DGFKpN8lhCmyhn9I3M4dYCxAfvEA] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 69ec19c4-8958-4cd8-94b8-08d78fef3a07 X-MS-Exchange-SLBlob-MailProps: dEG5jEBie8m65N9+bFiZEf+PkaTO3bukxQ67qGXle1N1qjlMXOe9Ir+I4JgFnExgBFMf4nGndSwZlSzRh69OnE70IimVuv6XLV9NFgJOPsKJW3p4j+3f515b/9enXJJx9m+bwdNfvbXl01eh9Bnpa2HWWPYIHrCABClOc0UHE5MbAkR+apyWL1v3pIzHfp40Rh91NYq5XNRzNQqwW0xrLxNQt7MpT41wk8Ws5DL1aJnDhpuVVC+7MeLLwo9oyZVqPM3ZpQZfUxpuz6nStRVFjlNCqwkiXObyFzdksm7KWptLGbf0lkxyLHsV2k2t2S4TFR2wpLOUq6vLaA47Q9SIZdFNkxEHwVeqPmSdQ9ubhYxzroj6evz8unoFgiknDYRGfLJB5mf/xGaPoFLt2RGW1nR7t3A3Jjc1yuTefSGifKrbSZJtHOwbxlRLC+1ALTObGueln8ShkR81V6lyw2aJvEXCXhFetDJhZtMbcT/VEJI2aaLUDNAbtV88ccTllkBAg2fpPnuKQ3y6J0qDm2wjR3eqbD8G2na1ZAz1abZBK3hElW+i1y9j3sYLTC+/TxO4O9lHQoOpu9WS/5Ke/OVrukG40kdW0X/fFeetLYMwVpQWw+6q1uck1hRMDOlaLe++xIyfQkRGhXE4jpVvIUnCfbpkI7X+JAZLUkqWokkTdNgkfNANMSBj2A== X-MS-TrafficTypeDiagnostic: HK2APC01HT053: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P9jMoU1QgPbe2WnJe55csDGA5JpVVcdbRaWTC8zM1JcgxzNxl2uQEqD1g7HuUDWY1h1NKmV4joa5GKPW+Z0S3v0r6QjFKtiUzpnG9Tp8FtI9ylQasmgrA2DbKt9ratasqAe94ddT1U7FWR6zF2FSxNMitAzF48b/R6ITDwrGB0MrNBhEqMyJCMT0kbi1WrXv X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69ec19c4-8958-4cd8-94b8-08d78fef3a07 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2020 01:49:53.3053 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT053 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174089 Archived-At: --5e0e9dbd_5953172f_4379 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =E5=9C=A8 2020=E5=B9=B41=E6=9C=881=E6=97=A5 +0800 PM10:52=EF=BC=8Carthur = miller =EF=BC=8C=E5=86=99=E9=81=93=EF=BC=9A > > > We can even keep all in emacs currently as > > the =E2=80=9CUI thread=E2=80=9Dand run another lisp machine > for a w= orker. > > Isn=E2=80=99t emasc-server/emacsclient already already that=3F Yes and no. The emacsclient do too less work to be a worker. Ratio of the= ir work is 10:1=3F I would it to be 1:10=3F Workers should do most heavy = work. --5e0e9dbd_5953172f_4379 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
=E5=9C=A8 2020=E5=B9=B41=E6=9C=881=E6=97= =A5 +0800 PM10:52=EF=BC=8Carthur miller <arthur.miller@live.com>= =EF=BC=8C=E5=86=99=E9=81=93=EF=BC=9A

> We can even keep all in= emacs currently as 
> the =E2=80=9CUI thread= =E2=80=9Dand run another lisp machine > for a worker.

Isn=E2=80=99t emasc-server/emacsclient already already th= at? 

Yes and no. The emacsclient do too less work to be a worker. Ratio of = their work is 10:1? I would it to be 1:10? Workers should do most heavy wor= k.

--5e0e9dbd_5953172f_4379--