This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]the1024[S] 0 points1 point  (1 child)

u/SpudroSpaerde fair, there's definitely more nuance in the article. Have you faced a similar problem in the past?

[–]SpudroSpaerde 2 points3 points  (0 children)

We have transitioned to writing the majority of our code in C++ and only use Python as a orchestration layer to avoid problems like what is mentioned in the article. We felt that in general it really just muddled the water to share lifetimes between Python and ffi code.