It would be possible if we change the language to require explicit locking, and skip things like reference counting.
/ Per Hedbor ()
Previous text:
2004-02-03 11:39: Subject: Re: Default backend and thread backends?
On Tue, Feb 03, 2004 at 11:25:03AM +0100, Per Hedbor () @ Pike (-) developers forum wrote:
It is so bad, since it would be done for _each and every_ access to data.
Why? Unless I know that some object (or another piece of data) may be accessed from another thread?
After all, languages like Java/C# works somehow (and not so bad), so it is difficult to understand why it is so bad in case of Pike...
Well, I am not talking about _current_ implementation, but in general, if it is possible in other interpreted/byte-code languages, I see no reason why it shouldn't be possible in Pike...
Regards, /Al
/ Brevbäraren