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

Re: A different approach

This page is part of the web mail archives of SRFI 75 from before July 7th, 2015. The new archives for SRFI 75 contain all messages, not just those from before July 7th, 2015.

On 7/22/05, John.Cowan <jcowan@xxxxxxxxxxxxxxxxx> wrote:
> > And if I want to avoid symbol clashes GUIDs should be sufficient. The
> > question is
> > just how often we need unique symbols (when things can be done with other
> > methods).
> Code generation is of course the primary use-case for uninterned symbols.
> For this use, GUIDs are too heavyweight to generate and "too unique";
> one typically does not need such strong uniqueness.

Indeed, but if you write them to a file and read them back again
(or stringify-modify-symbolify), then the uninternedness may be lost
(depending on whether the implementations provides a special,
non-standard read-syntax or not).