From: Yukihiro Matsumoto Date: 2011-01-13T00:59:26+09:00 Subject: [ruby-core:34436] Re: [Ruby 1.9-Bug#4168] WeakRef is unsafe to use in Ruby 1.9 Hi, In message "Re: [ruby-core:34400] [Ruby 1.9-Bug#4168] WeakRef is unsafe to use in Ruby 1.9" on Wed, 12 Jan 2011 11:17:12 +0900, Kurt Stephens writes: |Matz: are you suggesting renaming this C implementation "WeakPtr" (or something), make it part of Ruby core, and let the old WeakRef class die off? I am not sure if we use your C implementation. But at least I agree to replace the old WeakRef by one with better API, and let it die gradually. Right now I am thinking of something like WeakMap that does not represent an object, but collection of objects, so that each implementation choose the best implementation for the job. matz.