News for hackers. Stuff that matters.
Re:Some Sessions from the Python Language Summit by jkingsbery on Thursday May 28, 2020 @10:43AM (#23337882)
> One of the problems that CPython has struggled with over the years is its C API for extensions.

Honest question: is there an example of a language that does C extensions well? As a professional programmer, I have worked at different times with C extensions in Node.js, Java, R, and Erlang, (in addition to Python). Erlang and Node.js were maybe ok, but had their own challenges.

Re:Some Sessions from the Python Language Summit by flohofwoe on Thursday May 28, 2020 @10:50AM (#23337954)
I found Lua <=> C interop very easy to use, I guess because Lua has been designed as an extension language for otherwise native projects (but it works just as well in the other direction, extending Lua projects with native code).

The same is most likely true for other "scripting languages" where the main purpose is to add a scripting API to otherwise native applications (like Wren: https://github.com/wren-lang/wren)

Re:Some Sessions from the Python Language Summit by laurencerowe on Thursday May 28, 2020 @03:53PM (#23341782)
LuaJIT's FFI inspired the PyPy team's CFFI (which also works with CPython.) https://cffi.readthedocs.io
Re:Some Sessions from the Python Language Summit by pjmlp on Thursday May 28, 2020 @11:08AM (#23338217)
Tcl used to be a pleasure, then again I haven't touched it since 2002.
Re:Some Sessions from the Python Language Summit by microtherion on Thursday May 28, 2020 @06:31PM (#23343690)
I was going to mention Tcl. I suspect that the richer the semantic model of the language, the more challenging it is to provide a straightforward C API.