2 ms·
I am specifically looking for Numpy-like libraries and designs, not languages that have generally well-designed libraries. For example, Elixir has Nx. It seems
by bmitc 3y ago
I am specifically looking for Numpy-like libraries and designs, not languages that have generally well-designed libraries. For example, Elixir has Nx.
It seems to me that, even given Python's constraints as a language, that a nicer wrapper could have been developed in Numpy that still called out to bindings to do the heavy work.
> functional compatibility layer for a fundamentally broken language paradigm
What did you mean by this? Is it mainly the fact that Python is a bit an undesigned language in general that calls into unmanaged languages like C/C++ and Fortran in its libraries?
- Joel_Mckay 3y ago"I am specifically looking for Numpy-like libraries and designs" Why would one bottleneck a design with polyglot stacks even before a single line of code was implemented? This sounds like naive nonsense. "What did you mean by this? ... Python" Python was never designed to handle threads or parallelism properly, and has performance issues Numpy tries to address though its wrapped C/C++ libraries. Python became 30 years of spiral development, and implodes into a new implementation every so often. Depending on the use-case it may prove appropriate, but never optimal. =)
- bmitc 3y agoI was wondering about libraries that do Numpy-like things, not libraries implemented like Numpy.
- Joel_Mckay 3y agoThere are many native packages and wrapper scaffold libraries like Numpy. It will depend on your problem domain, but Julia often transparently supports its broadcast operator on most core data-structure math ("using LinearAlgebra" and the like). https://gist.github.com/AlexanderFabisch/6343090 https://gist.github.com/AlexanderFabisch/6343090 (small feature comparison list, but ignore the incorrect opinions) https://sciml.ai/ https://sciml.ai/ https://fluxml.ai/Flux.jl/stable/gpu/ https://fluxml.ai/Flux.jl/stable/gpu/ https://alan-turing-institute.github.io/MLJ.jl/dev/about_mlj/ https://alan-turing-institute.github.io/MLJ.jl/dev/about_mlj...