From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Shrinking the C core Date: Mon, 28 Aug 2023 20:20:33 +0800 Message-ID: <87pm37we7i.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26143"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Richard Stallman , emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 28 14:21:30 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 1qabFK-0006b1-7P for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Aug 2023 14:21:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qabEh-0008Ua-Kv; Mon, 28 Aug 2023 08:20:51 -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 1qabEf-0008O9-IO for emacs-devel@gnu.org; Mon, 28 Aug 2023 08:20:49 -0400 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qabEd-0006D5-Cq for emacs-devel@gnu.org; Mon, 28 Aug 2023 08:20:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693225245; bh=In1GrkTNTKH6LP+lw1yoI1vTm04ZZxn0tcqJnLqDcVo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=CHE1dLZSbEhtlt31y2DMon97G49xp6o9AWYUPxup3Y6GieXH/z9ATovY1V4PWshSQv9MWr0h086dw33xB2hGkXDIDOY530AdigRm/dA/233tC5lPBjUeHs9qJav55YGhfnzPkcNAAf9mubHD6AeGW8xbwEuk6kM209U4I4EvY4q3nnh0/bddkGRaL2gHxipfzaX8lQoNDFBbe5DBb0HHh/Pm18Vxpj/RKwlJBPH4nAvGfh2Nir1Xs1LTn6vmxdOg2LrLpoBvo78SNT19Cr8zsC7KbKp14igeaFFW9WyHmkbpqETEtgO66H/cWDZ8+TUdqA22eD+WbLsiVZBio+4nCA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693225245; bh=kWIsYmlWbud/jM+dBlhNU+QZuGin9ZJkVhtduAPWyle=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=icyQD1yy4/+84eRr08wshASXxlXWEQ4J6P6J7mLCiZsBH2ufcB78JCA8hfeQRg8u33PNcSu9dfQ80wQ6ZePxIENo/lGw21zOR2KbEvczgFPwBlNjBO9Fkw+2ihJOAaZbvs1azbXvs6Lsi/VJnJZBZnR8RshZR6Y3Q9KoI0ac45CEAm8+xhzypvBfoFsuGGCVNFHNA1Je3LdGTpqAf3wePCcYFticDbe/AbF+FOow0/CjqVWCQ/yTsnp9mG8/csfpYV7dXbBfHgxPGQVOku6xkhFXuTaZVz04JLlSQIQKJsrQk7f3CqsXr5i2aFTaJNgXap4ERp6ASrIsRANtUEW/7A== X-YMail-OSG: zSmTVYgVM1k3yq6WneT.xNEaktQn1YqHxqhOp28baV5FSWIZRJcM9sZ2uwGJbhO vLYiBnnmXXA0rnDZNcZhMpPausKb.IP6HgjP2d3CMxG3F7J2bjeSddfFa.2fl6Bt5453fud0u4VL YQ2c3nzLFL_F.zfi4Sm_zxOUQYGm1yowXSHAWwL42lqKJyca9cL6CkILkASzghktfE7EEot0kCfb STjb.C2MCAjfvzdg7h3jEDthlFfelR3f2llvdrXmqIWAQ2SRXbTLm6zegF512kcVGkiGRTXyWgez qTwiMV6KL9I37bFoSqGLYh6JjECYDuqgsUIqJQuPikH5A5K_qO31B2icA9oI9n1aXBM5v12dfV6. VynYLgt5pIezmg5pBPLqs0tqKRw2dHEDwxaFITLZOZ8yJ1TUHfJHW0FfvB9H7Kta1tBTsifa0pNp HZv7LVAi_mwaTHOSfRqogM3_gXlFkxTCLK1HHnCUn.goAewQUzX6w2WXgh6kjxLhCIjIl3ziLRgF erNd6FR8deVTTclQ02KQfRTa65xxD6gLOVGH9porgKkz6bsdtLxmJfUsRwE4wZlecR65LdXc63hG pyU5pVUgvgjLhSt280nUQmjHoljC0ErpsXSwxPQLq7bc5k_J15ByU_tsTOdkQB4lmZTEXSta33Is BUdxLWFYCB_5fXhBOPqm3qFqGIFvtkws8VKBBYADXmOhnoFXMBR0CjWjh4oTO2Y71Rtrp1CCRlN7 bGKMpywnWaft_GQwxHXHu35GWY.JOOPn97YOeeLk5TM6KQohw.Av8STSbtZaNWK_PI5TdYNkbHmA xpDOCuuWHBQOpipsund8L62y6HXBFyr7zhR6MHuiFL X-Sonic-MF: X-Sonic-ID: d7cdfce4-ded4-43cf-aaa2-e4964a5c4dcf Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 28 Aug 2023 12:20:45 +0000 Original-Received: by hermes--production-sg3-69654d8bd-xs829 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3f0f192dd0f63a323c6e4d42ccf540d5; Mon, 28 Aug 2023 12:20:42 +0000 (UTC) In-Reply-To: (Arthur Miller's message of "Mon, 28 Aug 2023 07:50:25 +0200") X-Mailer: WebService/1.1.21763 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, 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:309430 Archived-At: Arthur Miller writes: > By the way, a single threaded shared state does not thread itself just > because it is transplanted over a multithreaded implementation :). Of > course. But getting access to such platform enables people to use > threads, while the implementation itself is tranformed, as well as buys > other benefits as discussed above. I'll reiterate this again: facilitating the execution of Lisp threads in parallel -- a more or less complete job -- is 5% of the work required for a concurrent Emacs. The tedious, insipid task of interlocking all that ``single threaded shared state'' follows and constitutes the bulk of that work, which someone must sign up for irrespective of the language it is written in.