4 ms·
My biggest issue is the lack of coherence in the ecosystem, from using macros in whatever cases, to the inability to do otherwise trivial stuff in python, or th
by PartiallyTyped 6y ago
My biggest issue is the lack of coherence in the ecosystem, from using macros in whatever cases, to the inability to do otherwise trivial stuff in python, or the huge bottleneck of unpacking (star operator in python). I tried to use it for a class and there was just too much friction between the expected behavior and the observed behavior that I gave up.
My issue with python is speed, but I will probably end up implementing what I want/need in rust and call that from python.
- dunefox 6y ago> to the inability to do otherwise trivial stuff in python Like what? > or the huge bottleneck of unpacking (star operator in python) In what sense is unpacking a bottleneck?
- PartiallyTyped 6y ago> In what sense is unpacking a bottleneck? Performance wise, I can't recall the exact scenario though.
- jakobnissen 6y agoUnpacking (or splatting) can be excruciatingly slow in Julia if you have more than a few dozen elements in the iterable. That happens because it gets splatted into a tuple with N elements, which in Julia has a type parameter for every element - i.e. a generic type Tuple{N1, N2, N3 ... N} with as many type parameters as there are elements in the iterable. And the compiler has a hard time working with an instance of a type with e.g. 10,000 parameters.