News for hackers. Stuff that matters.
Re:Recording and visualising the 20k system calls it takes t... by t8sr on Saturday February 17, 2024 @06:09AM (#39408409)
You're missing the point - importing a module in other languages takes ~100x fewer system calls. It's a rare example of Python doing something that's mostly written in pure Python, rather than invoked via an FFI, and it shows some of the inefficiency of the language laid bare. That makes it an interesting case to study.

(Of course an import call in Python does a lot more, but the end result is roughly the same as calling `dlopen` in, e.g., Swift.)

There are no comments on this comment yet.