Re:A Python Interpreter Written in Rust
by pdpi on Saturday February 02, 2019 @02:49PM
(#19065224)
Even if RustPython is faster at the architectural level (which it probably does, CPython is infamously slow), CPython has the advantage of a mature codebase and two and a half decades of accumulated performance tuning.
[ Parent
| on HN ]
Re:A Python Interpreter Written in Rust
by coldtea on Saturday February 02, 2019 @03:10PM
(#19065370)
>and two and a half decades of accumulated performance tuning.
Or two and a half decades of performance neglect.
I've read about things like dicts, sort and the like getting faster implementations, but I've never seen a big effort to make CPython faster in general. In fact the first versions of 3.x were even allowed to regress to slower than 2.x.
Re:A Python Interpreter Written in Rust
by FartyMcFarter on Saturday February 02, 2019 @04:07PM
(#19065719)
This is certainly the case when it comes to startup time (an important thing in a scripting language). On my linux system, python2 starts in about 10ms, python3 takes 20-25 ms.