Re:Potential of the Julia programming language for high ener...
by Joel_Mckay on Monday December 04, 2023 @08:41PM
(#38525945)
"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. =)
Re:Potential of the Julia programming language for high ener...
by bmitc on Monday December 04, 2023 @09:20PM
(#38526215)
I was wondering about libraries that do Numpy-like things, not libraries implemented like Numpy.
Re:Potential of the Julia programming language for high ener...
by Joel_Mckay on Monday December 04, 2023 @11:09PM
(#38527000)
There 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 (small feature comparison list, but ignore the incorrect opinions)
https://fluxml.ai/Flux.jl/stable/gpu/
https://alan-turing-institute.github.io/MLJ.jl/dev/about_mlj...
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?