emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading progress


From: Ted Zlatanov
Subject: Re: Dynamic loading progress
Date: Mon, 04 May 2015 06:09:45 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

On Sun, 03 May 2015 18:44:05 -0500 Stephen Leake <address@hidden> wrote: 

SL> Ted Zlatanov <address@hidden> writes:
>> On Wed, 22 Apr 2015 11:25:51 -0500 Stephen Leake <address@hidden> wrote: 
>> 
SL> Ted Zlatanov <address@hidden> writes:
>> 
>> 
SL> We also need to document the GCPRO issues;
>> ...
SL> should the module do GCPRO around the funcall, or does the funcall
SL> handle that?
>> 
>> IMHO Emacs should manage memory, period. Any time modules are given that
>> responsibility, it's an opportunity for bugs and a premature
>> optimization. Perhaps we'll find it necessary later to give this
>> responsibility to some modules, but let's not do it now.

SL> That makes sense, but doesn't actually answer my question.

SL> Does the current funcall implementation handle GCPRO on the args
SL> adequately, or does it need to be improved/GCPRO added in the module?

(You mean the module-side funcall, right?  Not the one built in Emacs?)

Looking at it, it appears to only pass atomic data types that don't need
GC protection right now, so the implementation for passing strings is
not done.  But I'd love to get some comments from Aurélien, he must have
plans and ideas.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]