From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Sun, 4 Oct 2015 16:22:53 +0200 Message-ID: References: <55F5DD8C.70506@dancol.org> <55F62C16.4000105@dancol.org> <55F64F04.9030002@dancol.org> <55F6E43E.9030502@dancol.org> <55F70C4E.8030805@dancol.org> <87mvvzdzml.fsf@tromey.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443968600 8892 80.91.229.3 (4 Oct 2015 14:23:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Oct 2015 14:23:20 +0000 (UTC) Cc: Paul Eggert , Emacs development discussions , Philipp Stephani , Stefan Monnier , Daniel Colascione , Stephen Leake To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 04 16:23:13 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZikBw-00007o-4j for ged-emacs-devel@m.gmane.org; Sun, 04 Oct 2015 16:23:08 +0200 Original-Received: from localhost ([::1]:42589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZikBv-0000LP-B8 for ged-emacs-devel@m.gmane.org; Sun, 04 Oct 2015 10:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZikBi-0000LC-JJ for emacs-devel@gnu.org; Sun, 04 Oct 2015 10:22:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZikBh-0000kK-Qe for emacs-devel@gnu.org; Sun, 04 Oct 2015 10:22:54 -0400 Original-Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:37855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZikBh-0000kD-M4 for emacs-devel@gnu.org; Sun, 04 Oct 2015 10:22:53 -0400 Original-Received: by igbni9 with SMTP id ni9so42774365igb.0 for ; Sun, 04 Oct 2015 07:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=X9sjPVJ0jO6hZb9kKyfJd6zXxi1aRrkXUADbQXVtYIQ=; b=ikDrGK6BB2Qyvo2VzHdYUskTWu/u2qSUWOCuKTgUd0ZvkG5R/9pba//GuYVOH4nRSt TxM1r1+UxNBCoc9PCle2GwuDxxLIndM66Qg5KLtvfY3DlxS6278Lms+t6owJlaXhY5vR 3rp5ButpvuzKpuyIuArze3SQQcp9EoYCz9EP5ym23eGziZpZoeZ0DMBuFZD3YxyGwn2q RiMRjjIfmgCjYHL6gKvFph2lY/hCN706NuSdYm71FfGkhh/kvofvyiikcYvoRiKa0Omg xblKYitSiO60exdXDjPFnzcuX3NoFAy0GZbI/B2+1EY9qRlfIV2q4wPlFb1HCZkMSENQ pm3A== X-Received: by 10.50.142.7 with SMTP id rs7mr5680102igb.62.1443968573224; Sun, 04 Oct 2015 07:22:53 -0700 (PDT) Original-Received: by 10.36.146.193 with HTTP; Sun, 4 Oct 2015 07:22:53 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: dKc5jRmJj6uGbJf0P8mNk5CPeyA X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190886 Archived-At: On Sun, Oct 4, 2015 at 4:11 PM, Aur=C3=A9lien Aptel wrote: > We have to be careful with this vtable thing. I don't want to end up > with C++-level complexity with operator overloading, copy/move > > module side. For example, a module could return new "types" using a > cons ('my-type . ID) where ID is an integer index into a pointer table > handled by the module author. It's more work for module writers but it > works and keeps the complexity of the module interface low. To be clear, I still prefer the opaque pointer type with the vtable thingy solution. I was just showing alternatives.