[Top][All Lists]

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

Re: [Emacs-diffs] emacs-25 3eb93c0: Rely on conservative stack scanning

From: Daniel Colascione
Subject: Re: [Emacs-diffs] emacs-25 3eb93c0: Rely on conservative stack scanning to find "emacs_value"s
Date: Wed, 30 Mar 2016 11:28:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 03/30/2016 11:26 AM, Philipp Stephani wrote:
> Paul Eggert <address@hidden <mailto:address@hidden>> schrieb am
> Mi., 30. März 2016 um 03:35 Uhr:
>     On 03/29/2016 03:07 AM, Philipp Stephani wrote:
>     >
>     >
>     >
>     > - From a user's perspective, it removes NULL as a sentinel value to
>     > signal an error.
>     It's not clear that this feature is worth the hassle of supporting it.
> If emacs_value* were a real pointer, then the feature would come for free.

As would support for arbitrary future GC schemes and robustness against
arbitrary clever things compilers might do with pointers in memory.
There are lots of reasons to use a real handle table and lots of reasons
to avoid this kind of value stuffing.

But hey, we can't even get signal handlers right, so we shouldn't expect
too much.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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