emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-25 ee04aed: Fix handling of buffer relocation in


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] emacs-25 ee04aed: Fix handling of buffer relocation in regex.c functions
Date: Mon, 24 Oct 2016 22:46:42 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden
> Date: Mon, 24 Oct 2016 15:01:06 -0400
> 
> >> > I think we should consider these nits when we finish fixing the bugs
> >> > due to relocation,
> >> I think we should not fix those.  The constraints imposed by
> >> a relocating malloc are too difficult to abide to IMO, so we should just
> >> say no.
> > It depends on how hard that is.  The last one I fixed was very easy.
> 
> How many of us know the constraints?  How many of those know them enough to
> think about them when making changes?  How many of those get the answer
> right when thinking about those problems?

The same is true for many other parts of Emacs: bidi.c, syntax.c,
composite.c, to name just a few.

> It's a landmine, just like the gcpros were.

Sure.  But we're already in the minefield, might as well be careful
enough to not step on any mine, until we can get out.

> > More generally, as long as even a single platform we care about uses
> > ralloc.c, I don't think we can leave those problems unfixed, because
> > their effects are so nasty.
> 
> That's why I'm advocating getting rid of it.

Same here.  Read my messages.



reply via email to

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