[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile foreign object interface
From: |
David Kastrup |
Subject: |
Re: Guile foreign object interface |
Date: |
Tue, 07 Mar 2017 23:31:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Andy Wingo <address@hidden> 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
- Guile foreign object interface, Mike Gran, 2017/03/02
- Re: Guile foreign object interface, Andy Wingo, 2017/03/06
- Re: Guile foreign object interface, Andy Wingo, 2017/03/06
- Message not available
- Re: Guile foreign object interface, Andy Wingo, 2017/03/07
- Re: Guile foreign object interface, Ludovic Courtès, 2017/03/07
- Re: Guile foreign object interface,
David Kastrup <=
- Re: Guile foreign object interface, Ludovic Courtès, 2017/03/08
- Re: Guile foreign object interface, David Kastrup, 2017/03/08
- Re: Guile foreign object interface, Thien-Thi Nguyen, 2017/03/09
- Re: Guile foreign object interface, David Kastrup, 2017/03/09
- Re: Guile foreign object interface, Ludovic Courtès, 2017/03/09
- Re: Guile foreign object interface, Eli Zaretskii, 2017/03/09
- Re: Guile foreign object interface, Ludovic Courtès, 2017/03/09
- Re: Guile foreign object interface, Eli Zaretskii, 2017/03/09
- Re: Guile foreign object interface, Andy Wingo, 2017/03/09
- Re: Guile foreign object interface, Eli Zaretskii, 2017/03/10