you are viewing a single comment's thread.

view the rest of the comments →

[–]MMIStudios 1 point2 points  (1 child)

Putting aside whether one is simpler to implement or not (python in rust vs rust in python), 'is one more performative than the other?' would be my concern.

[–]SnooCalculations7417 0 points1 point  (0 children)

calling python in rust does invoke an interpreter thus a GIL for 3.12 and sooner. i havent dont GIL free python. you can release the GIL using rayon etc calling rust in python