News for hackers. Stuff that matters.
Re:RustPython – A Python-3 (CPython >= 3.11.0) Interpreter w... by kzrdude on Tuesday March 07, 2023 @05:03PM (#35061914)
They have a clean API for embedding. All Lua interpreter state is kept in a struct that you alloc. If you alloc two distinct structs, you have two completely independent Lua vms and you can run them on independent threads if you want to no problem, and so on. (Few language runtimes are clean in this way.)
Re:RustPython – A Python-3 (CPython >= 3.11.0) Interpreter w... by cozzyd on Wednesday March 08, 2023 @01:06AM (#35065799)
yes, python is basically impossible to embed in a multithreaded app.