From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: Oddities with dynamic modules
Date: Thu, 21 Mar 2019 21:04:07 +0100
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="226265"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: Eli Zaretskii , Emacs developers
To: Yuri Khan
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 21 21:13:42 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 1h744M-000wlc-8d
for ged-emacs-devel@m.gmane.org; Thu, 21 Mar 2019 21:13:42 +0100
Original-Received: from localhost ([127.0.0.1]:46188 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1h744L-0007mG-53
for ged-emacs-devel@m.gmane.org; Thu, 21 Mar 2019 16:13:41 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:38101)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1h742r-0007Qk-Bj
for emacs-devel@gnu.org; Thu, 21 Mar 2019 16:12:12 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1h73vf-0003vU-HQ
for emacs-devel@gnu.org; Thu, 21 Mar 2019 16:04:44 -0400
Original-Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:41304)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1h73vd-0002j7-MF; Thu, 21 Mar 2019 16:04:41 -0400
Original-Received: by mail-ot1-x32f.google.com with SMTP id 64so2008947otb.8;
Thu, 21 Mar 2019 13:04:20 -0700 (PDT)
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=LLRWUZcGrtnoLAVPdfumlPQwreblM0vZQNJRnSAaBDc=;
b=E8376wKKZVtYVvs8T3BoC7TWQ5EuXs4SnhcDAXqGKZIkUBZiOjUgxUkvbgl8cvmQjr
HAmoP+SMO6AUEddEtNkmbh0Mmbc6rs7PC/6s5Z1/BlJhh4cEXcrmH7Mc8KdBAxmYMz72
ej6C3VrefRio8eZmfUPap0C16XWJtP9a45qp8xZut1IQIEsNFl6rvztRH8Vx360N/nYG
1cgAabmQSQhFzxDTCKTR8RckqQODNnnC5mZv4h9QRa6NOx3rM8BERGJsB9Qe4+SNOPKw
jOmf793NCdH2AznO4Nv+PDpu822W3MCQrWolVvacVtS9+gZFPDYEk7MjA/f9gAkH1FXQ
OFKw==
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=LLRWUZcGrtnoLAVPdfumlPQwreblM0vZQNJRnSAaBDc=;
b=RPyjhHpT0IZAK7yNSSvYsIw+781AzT3FbPD7sq1D4QvEqB19f9l3h2hMIh5zypHcqE
YTmOtCja9PY1cksBYucn/Rqr1A9BLIegUiuRtqyen3OuNJD41I3hqfDpUOcCmD8jGyuK
tKnm7K4PmLkhfP+n7JtySuInH3wm/V3dZksFb5bnm44Utq96AuL+n0mZ/INtJJ+V8uRL
/1uYqQfoXZpNAsj3qYJZL3AMtFDa3/AX+/N4vdnX4QR82wTu4mHUCmbl+cMKTogmbDvG
XUCNYiHqklEA885rpNBprjLxgjgBvzXOoByNdID9B54WD9fiOepkq6EFJdFIMCMDSWrO
j1kg==
X-Gm-Message-State: APjAAAW9pg5874kok9WPmkWtHCJOSODJprbhbrgwyhhasEtkm4OZvRYo
uv8D4bd3amNZ7MQymAnGKRZjRYRURIZb8qUdH8P0Qw==
X-Google-Smtp-Source: APXvYqw7rgG2LCjS1/0FMGiNRSLlIA023d1c36mpzjX4AiGrfyVpbRveRk1GaFU+Z8OJGbTtMp3tn5ZiVe4NoMsyBe0=
X-Received: by 2002:a9d:62c8:: with SMTP id z8mr3934649otk.144.1553198658457;
Thu, 21 Mar 2019 13:04:18 -0700 (PDT)
In-Reply-To:
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 2607:f8b0:4864:20::32f
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:234478
Archived-At:
Am Mo., 11. Feb. 2019 um 17:04 Uhr schrieb Yuri Khan :
>
> 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.)
Yes, that's exactly what Daniel suggested in his initial design. It's
also what largely seems to be happening: people have written idiomatic
wrappers for Rust, Go, and probably other languages. Thus I'd say this
is working as inteded.