Re: Wrtite barrier

From: Torsten Rer <torsten.rueger@...>
Date: 2002-10-02 08:17:24 UTC
List: ruby-core #518
Moi

>Without recompiling the interpreter?  No.
>  
>
Straight from the source, what can I say, my hopes are shattered. But 
thanks for the quick answer.

Some ideas I had were
-- freeze the object, catch the error internally, unfreeze and continue. 
But as I woudn't know, and reading the source can't see how to catch, I 
guess that's out.
-- rewrite object assign method. As I might in ruby def attr= . Slot an 
implementation in there that does the dirty and removes itself. Is that 
no somehow possible ?

Cheers
    Torsten

PS: Got to say this sometime, better early than late: That (ruby) is 
very clean C code. Very nice to read.

 



In This Thread

Prev Next