Moi,  

I hope I'm on the right list with this.

I'm trying to build an interface layer to a memory persistance library 
(http://hibase.cs.hut.fi/technology.shtml)
The idea is to :
-- get objects from shades to ruby
-- use (read + write) in ruby, normal code, nothing extra
-- save only the modified ruby objects back

To implement this, I would need some kind of write barrier, so that I 
could mark object "clean" when I load them, make them "dirty" during a 
write and then only write the "dirty" ones back.

Does anyone have a good idea how to implement this ?

Cheers

    Torsten