emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc.


From: Eli Zaretskii
Subject: Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc.
Date: Thu, 24 Dec 2015 18:10:47 +0200

> From: Paul Eggert <address@hidden>
> Date: Wed, 23 Dec 2015 18:51:23 -0800
> Cc: Emacs Development <address@hidden>
> 
> > Please stop repeating the false idea that
> > longjmp from arbitrary points in the program to toplevel is harmless.
> 
> Neither Eli nor I have said it's harmless. Merely that it works well enough 
> in 
> practice. Let's not make perfection the enemy of functionality.

Right.

>  > the current mechanism does not achieve its goal. It's
>  > utterly unsafe even without module code added to the mix.
> 
> It's safe enough in practice. You're right that in *theory* it's utterly 
> unsafe, 
> but Emacs is a practical program not a theoretical exercise.
> 
> Really, the idea that we'll let Emacs crash on stack overflow (merely because 
> modules are being used) is a non-starter. We need a better solution.

100% agreement.



reply via email to

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