News for hackers. Stuff that matters.
Re:Array Programming with NumPy by BeetleB on Thursday September 17, 2020 @10:48PM (#24512461)
> Theoretically Julia is better for scientific computing, the only issue is its package ecosystem isn't as mature as Python's.

That's not a small issue. The ecosystem is probably the reason people choose NumPy over MATLAB, for example. NumPy is not inherently superior to MATLAB, and most academicians that adopted NumPy in the 2000's already had a MATLAB license, so cost was not a concern either.

Re:Array Programming with NumPy by unishark on Friday September 18, 2020 @01:07AM (#24513191)
I started using python and numpy/scipy back then because it was vastly easier to deploy on a server or supercomputer. The matlab compiler meanwhile is clunky and adds new bugs and additional steps. Julia doesn't really match python in this regard either.

For more pure research and prototyping things both can do, I still think matlab is better though I rarely use it. I just like the idea of being able to easily deploy the code later somehow. Kind of an entrepreneurial feature.

Re:Array Programming with NumPy by g0wda on Friday September 18, 2020 @01:34AM (#24513312)
In Julia, there is one package manager and it gets things right. https://docs.julialang.org/en/v1/stdlib/Pkg/ It's super nice to have no fragmentation when it comes to packaging. In Pkg, package states are immutable, always reproducible, and quick. Julia packages that have binary dependencies usually build them all for every platform using the binary builder infrastructure (https://github.com/JuliaPackaging/Yggdrasil). It makes cross platform installation robust and testable, and suuuper quick. Pkg really is the rolls royce of package managers.
Re:Array Programming with NumPy by kwertzzz on Friday September 18, 2020 @05:57AM (#24514870)
I also like that package environments are integrated in Julia and thus there is only one way handle environments.
Re:Array Programming with NumPy by dunefox on Friday September 18, 2020 @06:40AM (#24515091)
> That's not a small issue.

In fact, it's not an issue at all since Julias ecosystem is a superset of that of Python: with PyCall you can use Python libraries and Julia libraries in one program without issues.

Re:Array Programming with NumPy by srean on Thursday September 17, 2020 @11:06PM (#24512568)
Well that could have been said (and was said) about Numpy/Scipy when it started, "oh R has so many more packages, what numpy can do I can do in MATLAB ...", yet here we are.
Re:Array Programming with NumPy by BeetleB on Thursday September 17, 2020 @11:35PM (#24512714)
You probably don't realize it, you are agreeing with me :-)
Re:Array Programming with NumPy by srean on Friday September 18, 2020 @12:54AM (#24513132)
It depends on the definition of 'people'. There were many who adopted numpy much before the ecosystem had had time to catchup. But I would readily concede that Dr. Jones @national_lab didnt at that time, in fact he probably hasnt even now.

I do disagree strongly with the opinion that Numpy is no better than MATLAB :). MATLAB has adopted some Numpy features after Numpy came out (broadcasting for example) but Numpy offered some genuine and unique advantages, both technical (broadcasting, no need for a MEX compiler that I have to pay through my nose for, not restricted to weird naming conventions, nature of parameter passing, ...) and legal.

Re:Array Programming with NumPy by edgyquant on Friday September 18, 2020 @01:50AM (#24513374)
I just don't like the BASIC derived syntax of Julia (and Ruby.) I wish there was a language that was typed, had python like classes, subroutines and lambdas but JS like anonymous functions that was fast like Julia or at least close to numpy in number crunching without needing a module written in C.
Re:Array Programming with NumPy by cycomanic on Friday September 18, 2020 @06:51AM (#24515166)
Have a look at Nim, I was presently surprised when I recently tried it out. Now if there was just a better way of integrating with numpy it would be my goto language for writing computation intensive modules for python.
Re:Array Programming with NumPy by Fishysoup on Friday September 18, 2020 @01:09AM (#24513203)
I think Numpy made it easier for people to integrate with a ton of open source libraries. Since everything is proprietary and the users are in a few specific niches, Matlab can't be as versatile. Also, each of the Matlab add-ons are another expensive license people are reluctant to pay. Sure, there are a bunch of contributed libraries for specific tasks, but comparatively the community is pretty poor.