News for hackers. Stuff that matters.
Re:Making C and Python Talk to Each Other by username223 on Thursday May 29, 2025 @06:39PM (#44131054)
Unfortunately the calling conventions and memory models are all different, so there's usually hell to pay going between languages. Perl passes arguments on a stack, Lisp often uses tagged integers, Fortran stores matrices in the other order, ... it goes on and on. SWIG (https://swig.org) can help a lot, but it's still a pain.

There are no comments on this comment yet.