For your first point, I don't think a language such as JavaScript -is- much better, which is why Typescript was invented as an alternative for larger codebases/organizations
Re:Faster Python with Guido van Rossum
by dragonwriter on Thursday October 07, 2021 @01:46PM
(#28789749)
TypeScript:JS is a lot like mypy:Python; the only real difference is that Python adapted so that mypy (originally envisioned as its own language) code is also valid Python as well as the reverse, obviating the need for a compilation step to run mypy in the Python runtime (whereas TS has to compile to JS to run); also, mypy has mypyc to compile (currently, only a subset of) mypy code to something more efficient than normal python.
Re:Faster Python with Guido van Rossum
by whimsicalism on Thursday October 07, 2021 @03:26PM
(#28790981)
Having worked extensively with both, I don't think this is an apt comparison.
Type inference & hinting at the IDE level is just not as developed either
Which language did you mean? Also in any case wouldn't that be IDE issue.
I used Python and I noticed over the years that things like type interference drastically improved.
Similarly type checker in Rust extension for IntelliJ was lacking even though Rust has superior type system.
- The typing argument is impossible to argue against, but isn't it the same problem you'd have with any other dynamic language? How is, say, Javascript any better? I don't see this as something that's specifically Python's fault, rather, yet another argument as to why starting a large project in 2021 without seriously considering static types is bordering professional malpractice.
- As for the GIL thing, I'm with you that it's never going to be lifted in any meaningful way, but wouldn't the subinterpreters idea along the lines of Ruby's ractors fix most of the pain in most cases?
Also, why are you skeptical about "the 5x plan"? I don't really have an opinion about it, but I'm interested in hearing any input.