From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Oddities with dynamic modules Date: Mon, 11 Feb 2019 23:04:13 +0700 Message-ID: References: <83y3b4wdw9.fsf@gnu.org> <83tvhal45r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="267788"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Philipp Stephani , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 17:06:52 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtE6d-0017Wv-Np for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2019 17:06:51 +0100 Original-Received: from localhost ([127.0.0.1]:52211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtE6c-0004l2-ND for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2019 11:06:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtE4m-0003WX-4r for emacs-devel@gnu.org; Mon, 11 Feb 2019 11:04:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtE4c-0004Tv-OL for emacs-devel@gnu.org; Mon, 11 Feb 2019 11:04:49 -0500 Original-Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]:41413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtE4Z-0004Bh-03; Mon, 11 Feb 2019 11:04:44 -0500 Original-Received: by mail-ot1-x32c.google.com with SMTP id u16so18299432otk.8; Mon, 11 Feb 2019 08:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JztRYcyIGBW5y+KXVHuwUwXpcv1GRagw/dlDcSeKcl0=; b=oFrsDPTAueCrleQJal33LApQb3Sj4/sukwVgsQN5u7GHFmWA3aTQ30hxo8YgBygan0 A60F6ww42P9IjQIY6/5QFhLjOQMJrpWshYMUk1tBMoUkLUj+vyvK9/vmkDrpYpTXIgFT o362A+8zl0uBud/Ri0FLaLXpyqohVtPGd0p1APMB5f+HnjhBKd90qUm81CxrvtrSJqh/ sxLeEKMYt8Bo0Bome6dY2Qo7s/1npwuD1wLXqnuO4lZDd2Gq5bhLKDcF/u20bohQ0JOk U9OMDeE5xqV/nnDw4bzfyUJL79o7qB3TnUHLyHEFvt7qa/MS2qRPe1jHA7olcuIcgfGA psTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JztRYcyIGBW5y+KXVHuwUwXpcv1GRagw/dlDcSeKcl0=; b=Jn/ua502vo5d8SSc0Ho0S3cZ09MuhwBbtvci9OAsFXqapjHYy8tYn7w0Y0jQEqnGLf UM2cQ9kro7VmvLMzGKwkU58oh/qjlRhUulazOwGDxSWvZBvDBme8j8Vi63OrLgk5DzI1 6VHx20fLtTPk5y66pspfUGuWAaRL1z49PVAPrPj7xONCupef8FRuxuHNJTyhEHUx9Sq4 zhfSLYTWjhH6zZijmV2jQaORcgdXbbw4xECuaD5wA7nqVPrxR7lK8fRCLOR8KoRjjcLF 18YnpbU92foANjlebOBNbJ9T78berf9Kx+qMtyjWLrnRv2F6UCcAP8YCE8q0xcJpboHO 3oSw== X-Gm-Message-State: AHQUAubZk5HztMWfhhGc63wocnsaxBtXxK7Y1GMj6dmISKRtQzSyArvY XUANAp9yhFrY5bpPnYIKGQ0+KrH3urYLmi/9uCTgCg== X-Google-Smtp-Source: AHgI3IbkY3E5faZbiN1CEP43ZKS6TJ1a3Cdaa98ActhcwZIJ4itdUugAewgrtufRyTZsjh1eB4m0S36E5c5EfQxcK0U= X-Received: by 2002:a9d:4808:: with SMTP id c8mr2797815otf.328.1549901065975; Mon, 11 Feb 2019 08:04:25 -0800 (PST) In-Reply-To: <83tvhal45r.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233222 Archived-At: On Mon, Feb 11, 2019 at 10:46 PM Eli Zaretskii wrote: > > Convenience is not a design goal of the module API. The primary design > > goals are robustness, stability, simplicity, and minimalism. > > I thought simplicity and convenience of use tramps simplicity of the > implementation, so it is strange to read arguments to the contrary. > IME, inconvenient interfaces are the main reason for them being > unstable, but that's me. A good middle ground is a minimalistic (but sufficient) API at the host side, plus idiomatic convenience wrapper libraries for each client language. (The latter need not be maintained by the host API maintainer.)