News for hackers. Stuff that matters.
Re:RustPython – A Python-3 (CPython >= 3.11.0) Interpreter w... by tinco on Tuesday March 07, 2023 @02:53PM (#35060292)
Well there's no production class garbage collector in Rust yet, so in RustPython they're just using Rc's I think. That's one place to start. The other will probably be the quality of the JIT.
Re:RustPython – A Python-3 (CPython >= 3.11.0) Interpreter w... by Yoric on Tuesday March 07, 2023 @04:28PM (#35061514)
Does Python have a GC these days?
Re:RustPython – A Python-3 (CPython >= 3.11.0) Interpreter w... by ketralnis on Tuesday March 07, 2023 @04:40PM (#35061633)
It uses refcounting in the common case and then a second cycle-detecting GC for the less common cases
Re:RustPython – A Python-3 (CPython >= 3.11.0) Interpreter w... by Yoric on Tuesday March 07, 2023 @06:00PM (#35062550)
Ah, I forgot the cycle-detector.

Thanks!