News for hackers. Stuff that matters.
Re:Julia 0.5 Highlights by pklausler on Tuesday October 11, 2016 @02:32PM (#12687213)
"Functional language" is ill-defined, hence my specific question about static typing and purity. I would really like to have a language for scientific computing that had good scalable performance as well as static types and referential transparency.
Re:Julia 0.5 Highlights by StefanKarpinski on Tuesday October 11, 2016 @02:42PM (#12687338)
As far as I know, no such system exists. Strict static typing and numerical computing are, I suspect, more at odds with each other than they casually appear to be. The seemingly simple `+` operator is the most polymorphic and overloaded function-like entity in many static languages (and often can't be defined as a normal function for that very reason). And `+` doesn't hold a candle to the polymorphism of array indexing and slicing, which is pretty crucial for productive numerical work.
Re:Julia 0.5 Highlights by pklausler on Tuesday October 11, 2016 @02:51PM (#12687414)
Thanks for your reply.

Someday, Haskell will get a good matrix library, and then I'll be happy.

Re:Julia 0.5 Highlights by omaranto on Tuesday October 11, 2016 @03:32PM (#12687762)
Oh, you meant static typing when you wrote strong typing above? That makes more sense.
Re:Julia 0.5 Highlights by pklausler on Tuesday October 11, 2016 @03:51PM (#12687957)
Yes, I sure did. Sorry for the confusion.
Re:Julia 0.5 Highlights by leephillips on Tuesday October 11, 2016 @03:17PM (#12687630)
Fortran?
Re:Julia 0.5 Highlights by pklausler on Tuesday October 11, 2016 @03:35PM (#12687796)
Modern Fortran is an awesome power tool and I love it. But it's hardly a pure functional programming language!
Re:Julia 0.5 Highlights by leephillips on Tuesday October 11, 2016 @09:56PM (#12689929)
Oh no, certainly not. Sorry, I didn't realize you were asking for that, too!