Re:Test for lists in Cython
by bjourne on Monday April 19, 2021 @09:15AM
(#26862383)
Yes, that is what the scheme I described is doing. You'd need a similar mechanism in Rust too to prevent it from collecting objects prematurely. I think implementing this is fairly trivial. The difficult part of writing an FFI is handling closures: Java calling Python calling Java calling Python which throws an exception...
[ Parent
| on HN ]
There are no comments on this comment yet.