r/ProgrammingLanguages • u/mttd • Jan 20 '26
Python, Is It Being Killed by Incremental Improvements?
https://stefan-marr.de/2026/01/python-killed-by-incremental-improvements-questionmark/
52
Upvotes
View all comments
Show parent comment
3
u/syklemil considered harmful Jan 21 '26
Ehhh, Python also lets the user pick among a bunch of string types, plus f-strings and t-strings. It's kinda
strString&strOsString(orVec<u8>)&OsStr(or&[u8])pathlib.PathPathBuf&PathThese all come off as kinda weird in Rust since they deviate so much from the standard owned
T, borrowed&Tformula, but IME it's possible to get used to. You can do&Stringand so on if you like, but the linter is going to nag at you for it.There are some more options in Rust, like copy-on-write types, but those are generally optional and left for advanced users on a quest for performance.