emacs-devel
[Top][All Lists]
Advanced

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

Re: Development Speed


From: Stefan Monnier
Subject: Re: Development Speed
Date: Fri, 24 Dec 2021 09:06:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> According to any of the C standards, Emacs is just one large undefined
>> behavior.
> Would you mind expanding on this remark briefly?  What sort of undefined
> behaviour do you have in mind?

Scanning the stack and playing with the lowest 3 bits of pointers come
to mind.  These are UB, and in C as soon as one UB is encountered during
execution, everything else from now on is potentially UB (more
specifically, the C standard allows the interpretation that a UB
operation does literally anything, including never terminating and
behaving eerily like your program).


        Stefan




reply via email to

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