News for hackers. Stuff that matters.
Re:Some Insights from a Julia Developer by _Codemonkeyism on Saturday October 14, 2017 @11:06AM (#15472467)
"is a good generic type-stable function for any number which has zero and + defined. That's quite unique: I can put floating point numbers in here, symbolic expressions from SymEngine.jl, ArbFloats from the user-defined ArbFloats.jl fast arbitrary precision library, etc."

Is it really unique? Isn't that just a Monoid (e.g. in Haskell, Scala, ...) or am I wrong?

Re:Some Insights from a Julia Developer by StefanKarpinski on Saturday October 14, 2017 @11:09AM (#15472489)
I think that unique is an overstatement there, but in the context it's a comparison to other numerical computing systems, where this kind of support for generic code is less common.
Re:Some Insights from a Julia Developer by ChrisRackauckas on Sunday October 15, 2017 @03:15PM (#15478726)
Yes,i it was an overstatement. But, while I do see it can be done with these Monoids, I haven't come across these kinds of numerical linear algebra libraries that allow generic code in other languages (here's an example of what I find in Haskell that requires double: https://hackage.haskell.org/package/hmatrix-0.14.0.1/docs/Nu...)