From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: dynamic reload of dynamic module not dynamic? Date: Wed, 20 Apr 2022 20:06:17 +0300 Message-ID: <83o80vsn06.fsf@gnu.org> References: <87o810mic0.fsf@zoho.eu> <22BE2D29-B50B-4164-B0AC-4BDFA62A20EC@gmail.com> <87lew3lb94.fsf@zoho.eu> <874k2pwct6.fsf@zoho.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29174"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 19:14:18 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nhDuE-0007QO-2b for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 19:14:18 +0200 Original-Received: from localhost ([::1]:45276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhDuD-0004mk-0r for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 13:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhDmf-0004SV-O9 for help-gnu-emacs@gnu.org; Wed, 20 Apr 2022 13:06:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhDmb-0007dC-GN for help-gnu-emacs@gnu.org; Wed, 20 Apr 2022 13:06:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+44FuhfkMnvItuuDls8SEatA05inFhAH839hKbpkw1k=; b=AcwNuY99Hrjz kT+ivj/ZmQfhTUl3uX3dUOOTz5NUYm4X6icy64wGNARhbzrldaCzkj6oVmF+0g039Y906TlYnyyRc 2n6QryGGKlWks3ZOHdlDOGORjzNUu+8dyMnSx5w/voPJPNmHPEe8/gAU4/4cVI1J5xfipsyLlgjg1 vOtzn1m1hPaQpVP3cchK+l0aDm3DPJY2dzC/iTRiwUzvObWBtYIshKy+UykQgOxmvmaPWo8DBhYN+ 5EaUYXywOSr9pox7bqMenVe7MnxcOj7quZwLzff8VOIsil06+lQ9cX1g4BzmCASylShyf8ZMoGNtg Yh9g1kosAMHTx2XEaH/F6w==; Original-Received: from [87.69.77.57] (port=1362 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhDmZ-0002Su-4Q for help-gnu-emacs@gnu.org; Wed, 20 Apr 2022 13:06:24 -0400 In-Reply-To: <874k2pwct6.fsf@zoho.eu> (message from Emanuel Berg via Users list for the GNU Emacs text editor on Tue, 19 Apr 2022 13:08:21 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136977 Archived-At: > Date: Tue, 19 Apr 2022 13:08:21 +0200 > From: Emanuel Berg via Users list for the GNU Emacs text editor > > tomas wrote: > > > This is not completely trivial. Parts of the application may > > have become dependent on the loaded library. [...] > > I don't see how that is any different from eval'ing a Lisp > function Because C is a compiled language, not an interpreted one, and the rules and machinery involved in loading shared libraries are (a) much more complex than the rules involved in loading Lisp, and (b) we don't control how this stuff works because this is done by the OS, not by Emacs.