From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Kastrup Newsgroups: gmane.lisp.guile.user Subject: Re: Guile foreign object interface Date: Tue, 07 Mar 2017 23:31:29 +0100 Organization: Organization?!? Message-ID: <87r32867ni.fsf@fencepost.gnu.org> References: <1644439317.409814.1488469678720.ref@mail.yahoo.com> <1644439317.409814.1488469678720@mail.yahoo.com> <87shmpcibe.fsf@gnu.org> <87r32988we.fsf@pobox.com> <877f40svma.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1488925994 16240 195.159.176.226 (7 Mar 2017 22:33:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2017 22:33:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Mar 07 23:33:08 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clNfH-0003dX-K8 for guile-user@m.gmane.org; Tue, 07 Mar 2017 23:33:07 +0100 Original-Received: from localhost ([::1]:52877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clNfN-0003ja-CZ for guile-user@m.gmane.org; Tue, 07 Mar 2017 17:33:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clNdz-0002xm-Hy for guile-user@gnu.org; Tue, 07 Mar 2017 17:31:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clNdw-00028U-BP for guile-user@gnu.org; Tue, 07 Mar 2017 17:31:47 -0500 Original-Received: from [195.159.176.226] (port=50497 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clNdw-00027V-5O for guile-user@gnu.org; Tue, 07 Mar 2017 17:31:44 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1clNdj-0002lk-Us for guile-user@gnu.org; Tue, 07 Mar 2017 23:31:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw Cancel-Lock: sha1:Hup3Fv4nLxOgzt0TU/DePDwIaFo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13446 Archived-At: ludo@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> I am not so sure about about this one. I think it's not accurate to >> characterize beginning to replace a 25-year-old C API (SMOBs) as >> "churn". > > I think the point is that there’s lots of code out there that rely on > SMOBs and we shouldn’t break it overnight, precisely because that API > is this old. > > Of course, I agree that pushing users towards an improved API is the > right thing long term, no argument here. Shrug. LilyPond has all of its SMOB usage condensed into few C++ classes, so it is comparatively easy to migrate to a different API as long as it offers comparable functionality. Which it doesn't (namely the ability of marking objects reached through STL-managed data structures). So it's pretty pointless to "push users towards an improved API" and hardly "the right thing". -- David Kastrup