holy hell python doesnt even have a built in red-black tree implementation, just a hashmap style Dict... There is a third party implementation but the best one is something like 8 months since the last release and the repo only has 6 commits...
How do people even survive in #python?
@freemo i don’t think Python people do that kind of stuff
@louiscouture What sort things? :)
@freemo python is mostly for people who want to learn programming, and it’s mostly used for mathematics and machine learning / ai libraries
.
@freemo I’m still a student in software engineering and hasn’t really reached AI yet but doesn’t it make no sense to do some demanding calculations on a language that is really slow.
I get the appeal of interpreted languages as it can be run on multiple machines, but then why not use faster alternatives, like Java ?
@louiscouture most mature languages will be close enough to as fast as any other not to matter in and of itself. It isnt that python isnt fast, its more that python doesnt make it easy or pleasant to make your code fast.. ITs multiprocessing element is shit and requires you to jump through hoops and many of its built-in libraries dont leverage multiple CPUs and obscure things away in such a way that it isnt always easy to build that in.. But all that said it can (and many examples of where it has been) made to do things as fast as any other language.