From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Emacs design and architecture. How about copy-on-write? Date: Thu, 21 Sep 2023 15:21:57 -0700 Message-ID: References: <83h6nrg4eg.fsf@gnu.org> <83v8c7elan.fsf@gnu.org> <877conk5ny.fsf@localhost> <83ttrreeu0.fsf@gnu.org> <87bkdzeas1.fsf@localhost> <83cyyfe5l8.fsf@gnu.org> <87led2o0nb.fsf@localhost> <83ttrqcpfb.fsf@gnu.org> <877comnv4a.fsf@localhost> <83fs3ackrq.fsf@gnu.org> <99e84ae7-b3aa-a009-5cb8-a75826343196@gutov.dev> <838r92cgxp.fsf@gnu.org> <837comcam8.fsf@gnu.org> <6946e6f0-c6ef-186c-35d4-c09935c05a07@gutov.dev> <83y1h1axtq.fsf@gnu.org> <87sf79rq5o.fsf@yahoo.com> <83fs38c2yv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, acm@muc.de, incal@dataswamp.org, emacs-devel@gnu.org To: Dmitry Gutov , Eli Zaretskii , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 22 00:22:53 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qjS4T-0007c7-OO for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Sep 2023 00:22:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjS3h-0000Fs-MC; Thu, 21 Sep 2023 18:22:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjS3e-0000Fd-W0 for emacs-devel@gnu.org; Thu, 21 Sep 2023 18:22:03 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjS3c-0006dP-Ia; Thu, 21 Sep 2023 18:22:02 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2bffdf50212so24363871fa.1; Thu, 21 Sep 2023 15:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695334918; x=1695939718; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=wlNv3jFUvmqHKmsrjP/Hls4N+wpzF4qg2A5R9Rwhl44=; b=ghzMpsaRZrN9Vrml8sN0NidxZDWJE30FX56gMK6wssuHxgTypCijwqmceCEuLbPsbt szLL+QmEVyX5Q0rmFgAS+yosMyTOjdml54sG1+TYy+h/IU0m8KzLTOuAB3oM8qoAYzDn EFThB2NeRt8vVNmegpc/7PUGExhnYvjE4Fj08r9/LZhQpJ8Nxd00ZI43gFUxJJ583+59 wV6XI+256vU0GSCo3ZCpY74xu60rOJQN14o6yNBZIsvnBNTd5HTu2KgcQ+brRAbNzvgr I2spOA71TmiQ38Ev82zl3Mc1da+ZDl14A5O6ddTOh80R8Cm78yq+7rrvW7CF5WbiVGdF DrBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695334918; x=1695939718; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wlNv3jFUvmqHKmsrjP/Hls4N+wpzF4qg2A5R9Rwhl44=; b=gcqf63wujl1qM6a6EuEtHuhyuRPNsLjRKAFLhXCKMK8IS38P4XX/t3uaerT6UIyz2E Pye7X6O1Cw6o68q1SRvM3wZScvJjNobXYUhT/KOh1KOFNEAEQvPgn9LLsg1k9bNYKUoB NEO+kGqeR+Qj0WlvHuHipsvMLyZ4XOBlutr4gELQRT2zj0rFcrRLGnmmsoZ41Mvb4CNN dRO8twrb+ySmJXG98UFeKe03qn6Ylhqfo/4fWlT3By8SFdOEDxMCTvUAHKPzJECLc04L KnB8JYgFUe3SX/XnAcIMhhQn9uMG077nJWULKuRtR1PKRRgFLAxOx0IMk+YcY81THsaB zY1w== X-Gm-Message-State: AOJu0YzZARmxIubMvnxTyESnpL9zDJDd1nY6tbULW91iCQC/JLey6gus v50CxbPJw1oU6t86zdn6AP2C8e1Qkfd3I1KWtAQ= X-Google-Smtp-Source: AGHT+IGwjJHx9lE84jnGohpGMT+XgaCZxyCxbihYSeue0vY/CTBgHaBfHiarHsLjnXgJohDJ9/C2CHRQt+TFaVkPBcQ= X-Received: by 2002:a2e:8507:0:b0:2c0:d21:39de with SMTP id j7-20020a2e8507000000b002c00d2139demr6204083lji.42.1695334918022; Thu, 21 Sep 2023 15:21:58 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 21 Sep 2023 15:21:57 -0700 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310932 Archived-At: Dmitry Gutov writes: > - People using LSP likely see better performance because of VC Code > being able to parse the server's output in a different thread (or web > worker? I haven't seen the exact design). LSP-Mode folks wrote a POC > branch of Emacs which parallelizes the JSON parsing as well: > https://www.reddit.com/r/emacs/comments/ymrkyn/async_nonblocking_jsonrpc_or_lsp_performance/ > Some work toward mainlining this feature (perhaps after generalizing) > could help. Or maybe the "multiple concurrent interpreters" approach > could yield similar gains. Could someone please contact them and ask if they plan to upstream it?