4 ms·
It is also stated why doing that automatically is unfeasible.
by DasIch 15y ago
It is also stated why doing that automatically is unfeasible.
- albertzeyer 15y agoThe only issue stated about that is the possibility of deadlocks when done in an automatic way. However, I claim that you can also do it in an automatic way and avoid deadlocks at the same time.
- DasIch 15y agoIn order to avoid dead locks you need to be aware of the language semantics, which you are not if you automatically transform the interpreter.
- albertzeyer 15y agoWhat I mean is that even without knowing that, you can still do it in an automatic way. E.g., like this: https://github.com/albertz/automatic_object_locking/blob/master/draft.cpp https://github.com/albertz/automatic_object_locking/blob/mas...
- mad 15y agoYou are assuming that all the objects that will be accessed are known up front, before any one of them is accessed. Is that what happens in Python?