From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.tangents Subject: Re: Shrinking the C core Date: Wed, 13 Sep 2023 01:47:53 +0700 Message-ID: References: <83jzsvppv8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Arthur Miller , emacs-tangents@gnu.org To: chad Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Tue Sep 12 20:48:40 2023 Return-path: Envelope-to: get-emacs-tangents@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 1qg8RE-0000fX-7b for get-emacs-tangents@m.gmane-mx.org; Tue, 12 Sep 2023 20:48:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg8Qu-0001vt-UZ; Tue, 12 Sep 2023 14:48:20 -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 1qg8Qs-0001vf-L7 for emacs-tangents@gnu.org; Tue, 12 Sep 2023 14:48:18 -0400 Original-Received: from mail-ua1-x92f.google.com ([2607:f8b0:4864:20::92f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qg8Qq-0005Jj-I8; Tue, 12 Sep 2023 14:48:18 -0400 Original-Received: by mail-ua1-x92f.google.com with SMTP id a1e0cc1a2514c-7a76ffc063bso1809351241.2; Tue, 12 Sep 2023 11:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694544485; x=1695149285; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=49zsmz3Cvl4FCfk/INnI/j/TiK06hKF97dObIanwsXE=; b=SsM8a2s0Ty6o5/Q6lt1ZCl0FfNO1nKClGh02MZ21dorumOOltfnSLsLu0ev3iOCEc8 i6EXXrwe/OpQe03dRnJO9Yio4rRmpvva9PJZj82bn8dtgoPMw/3+urcEH0EddNVW9cm0 LO68oCDGrFIn3tzBxPpmlRVMb6I4LGsngQzOAPNSrRFknr4Ku8+WwotLTQdg2Aj34zXg I3H71yfafe4lKJ5MRupuS8Sh6E060lSNKWC/SXrd8cpkMggnKjjIDIAguz8g8it4HqYp GLBi/41n3bvLMQBoa3uTbBudDRhjZ9VJWEDhOnY5qpMttQmkxbe8Kt2c8v3xSNzJUhQO 4pfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694544485; x=1695149285; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=49zsmz3Cvl4FCfk/INnI/j/TiK06hKF97dObIanwsXE=; b=jpbxiBJ9/kM3Uvrl27QpGT4K3g2bh2GOfpd3dhM7OPdogeA6cJJjk2foJiOIA9vzzj uMI9jsWjXvhQEfrnXFy7ehaipf39CO2veTkiKFUYID9S/Ux3j1W2pbHTowFP9pu31iW/ mE4LTuvvNlAGsCK3VCNOUtr3RNEQATZA0TUQ6MDO/FOJHwGvI8ltf6mEXBy2J0CtIkbW NqmBBHQTX4aBAzLqOFCOcWWNEO8IRrwRsazrDFKb8sov3eNpnW4knNLkL8Gr4mvTzKS6 +IVFAAH1MaMaiKrGEci/ND41IrQoA/ujOrvvNdPYl0sVY8r9hlCjzekQpIPNO+h2bo1X WyRQ== X-Gm-Message-State: AOJu0Yz6AIyuJkgFJ7lWx1x+r3S0X6xTQzGLHI6cLCuCm4QrOy6oPyDG WZegkakuck/4XRwBQ6KPgGiYk4LkQoE2/xP/tcs= X-Google-Smtp-Source: AGHT+IE7o8rEycr7M2ijL6Q6VVoXere/hMPIxUX8CwrG94KEapRRG6GcUnSzOkVUerrgroigQI1O4jq8KEw6HCb8yjA= X-Received: by 2002:a67:ebcd:0:b0:44e:cf3d:4cbd with SMTP id y13-20020a67ebcd000000b0044ecf3d4cbdmr136134vso.19.1694544484753; Tue, 12 Sep 2023 11:48:04 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::92f; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92f.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-tangents@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Emacs news and miscellaneous discussions outside the scope of other Emacs mailing lists List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Original-Sender: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.tangents:1069 Archived-At: On Wed, 13 Sept 2023 at 01:23, chad wrote: > It's also possible that there's some adaptation that will arise, perhaps = along the lines of how web workers/service worker threads interact with the= DOM in the modern browser, that keeps Emacs going even longer. Actually, as far as I understand, service workers don=E2=80=99t interact wi= th the DOM. They have access to offline storage that lets them keep state, and they can intercept requests ordinarily destined to their origin servers and respond to them in lieu of the server. Web workers don=E2=80=99t have access to the DOM either; instead, they list= en for and respond to JSON messages sent by page scripts. So nothing new here: concurrency gets much easier when you disallow (or vastly minimize) shared state.