ECL does have weak pointers and that could be used to implement weak hash tables, but it has not been done.

And regarding what I said, note the difference between libraries that work on other implementations and libraries that do not support ECL because they demand nonstandard implementations -- the later case should be regarded not as a bug, but as a feature request (interface available in Sourceforge as well).

However, in many cases those dependencies can be worked around by library developers. In particular I doubt that trivial-garbage needs weak hash tables at all  given that ECL has finalization.

Juanjo

On Wed, Feb 2, 2011 at 10:42 AM, Marko Kocić <marko.kocic@gmail.com> wrote:
On Wed, Feb 2, 2011 at 10:37 AM, crox <linux.hacker@yandex.ru> wrote:
> Thanks, I'll try it. But what about the second problem (weak hash tables), is it solvable?
>

I don't know.

If ECL have support for it, it shouldn't be too hard to port
trivial-garbage to use it.



--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com