News for hackers. Stuff that matters.
Re:SPy: An interpreter and compiler for a fast statically ty... by antocuni on Wednesday November 05, 2025 @08:15AM (#45822497)
hello, author of the blog post and author of SPy here.

> how can you reliably import libraries?

the blog post specifies it but probably not in great level of detail. Calling python libs from spy will go through libpython.so (so essentially we will embed CPython). So CPython will import the library, and there will be a SPy<=>CPython interop layer to convert/proxy objects on the two worlds.

Re:SPy: An interpreter and compiler for a fast statically ty... by graemep on Wednesday November 05, 2025 @09:03AM (#45822937)
Thanks for the answer. I have to admit I missed the implications of embedding libpython. Sounds great.