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? :)
@louiscouture while it is often a first choice in programming language for the noobs I wouldnt say its limited to that at all. It is often used for some pretty advanced math/AL/ML which is why it surprises me it lacks such fundamental features as a tree map considering they are pretty necessary to make a lot of those things if you want them to run efficiently.
@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.
@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 ?