News for hackers. Stuff that matters.
Re:Try Julia by Blahah on Sunday January 26, 2014 @02:34PM (#7126477)
It's really easy to try Julia by just downloading it: http://julialang.org/downloads/.

I'm becoming increasingly convinced that Julia is the future of technical computing. We've just started pulling together a BioJulia team - if anyone is interested drop an email (in profile).

Re:Try Julia by sdegutis on Sunday January 26, 2014 @02:56PM (#7126561)
Honestly I'm convinced it's a lot more generally applicable than scientific computing. Much of heavy lifting I had to do in C, I can now do in Julia with nearly the same speed and efficiency. Plus, for a lot of the problems I would have chosen Python, Ruby, or even Clojure for, I could really see myself using Julia now.
Re:Try Julia by orangecat on Sunday January 26, 2014 @03:29PM (#7126709)
Same here. In my so-far limited experience, it feels like the upgrade to Python 2 that I wish Python 3 had been.
Re:Try Julia by RivieraKid on Sunday January 26, 2014 @04:56PM (#7127160)
+1 Besides libs and ecosystem in general, I don't see any advantage Python / Ruby / Clojure have over Julia.
Re:Try Julia by sdegutis on Sunday January 26, 2014 @05:01PM (#7127188)
And libs/tooling naturally come along with active use, which I think Julia is going to start seeing real soon. At least from me!
Re:Try Julia by RivieraKid on Sunday January 26, 2014 @05:39PM (#7127364)
I agree, the libs ecosystem is growing at an amazing pace (partly because macros make it easy to create wrappers around C, Python or Java libs).
Re:Try Julia by jsofra on Sunday January 26, 2014 @05:26PM (#7127301)
Eh, in the case of Closure pervasive immutability, I don't want to write imperative code anymore. I am sure you could write in a functional style in Julia but all the code I have seen seems to rely pretty heavily on explicit stateful loops. At that seems to be a design choice not just for speed but, from what I have read elsewhere, to be familiar to Fortran and Matlab people, seems like a bad trade off to me.
Re:Try Julia by RivieraKid on Sunday January 26, 2014 @05:33PM (#7127335)
Removing loops or mutability from Julia would be a terrible decision. There's nothing inherently wrong with mutability or imperative programming.
Re:Try Julia by jsofra on Sunday January 26, 2014 @06:21PM (#7127565)
I just was answering the case for the advantage of Clojure over Julia as a general purpose language. And pervasive immutability is an advantage in that case. I agree Julia needs mutable arrays, I think for the domain it is targeting mutable arrays are a must but that should not mean that it needs big old imperative loops absolutely everywhere either.
Re:Try Julia by RivieraKid on Sunday January 26, 2014 @06:46PM (#7127679)
Imperative and mutable isn't inherently wrong, even in a general purpose language like Julia.

In Clojure it's hard to write imperative code, which was one of the reasons I've left. Sometimes, imperative programming is the best way to code something. Sometimes it's best to do it in a functional way. Julia can do both.

The same is true for mutability. I understand the advantages of immutability but I think it's overhyped. Besides the obvious advantage of mutability - performance - it sometimes makes for more readable and shorter code. And what if you have some complex nested state and need to change a small part of it?

BTW - what do you mean by functional programming exactly, how does it differ from imperative programming in your view?

Re:Try Julia by sdegutis on Sunday January 26, 2014 @07:53PM (#7127990)
I also really like Clojure (we use it exclusively at work) especially thanks to its referential transparency. But I don't think I'll ever want to exclusively write in a Clojure style. Sometimes I prefer imperative stateful algorithms.
Re:Try Julia by sdegutis on Sunday January 26, 2014 @03:02PM (#7126586)
I can see Julia replacing Go for a lot of people, specifically those who came from a Python or Ruby background and are using Go for the kind of things more typically written in those languages. I bet Julia will shine in this problem space.
Re:Try Julia by vezzy-fnord on Sunday January 26, 2014 @02:52PM (#7126544)
Any reasoning behind such a generically bold statement?
Re:Try Julia by RivieraKid on Sunday January 26, 2014 @03:53PM (#7126844)
- Good performance

- Lisp-like macros and other metaprogramming facilities

- It's a general purpose language

- Multiple dispatch

- Designed for parallelism and distributed computation

Re:Try Julia by TheTurd on Sunday January 26, 2014 @03:40PM (#7126775)
> Any reasoning behind such a generically bold statement?

If and when they're right, they can smugly point out how forward thinking they were.