3 ms·
I have also ported a Python program to Rust (got a ~50x speedup) but this was a smallish program, under 10k lines of code. Porting larger programs is rarely tr
by IshKebab 1y ago
I have also ported a Python program to Rust (got a ~50x speedup) but this was a smallish program, under 10k lines of code.
Porting larger programs is rarely tractable. You can tell that because several large companies have decided that writing their own Python runtimes that are faster is less effort (although they all eventually gave up on that as far as I know).
- mixmastamyk 1y agoCould happen with any language. The well-known Spolsky piece was about a C++ to C++ rewrite if memory serves. Blaming repeated poor decisions on a prototyping/glue language is yet another instance. Luckily there's lots of options today to dig out of them.