Re:Julia 0.5 release
by qwertyuiop924 on Wednesday September 21, 2016 @04:43PM
(#12552035)
So, is it doing type inference, or is it weakly typed? I don't know.
I mean, if Julia works for you, that's great. But it seems a bit awkward to me, and until now (and even now), there was the array indices elephant in the room (it's the Lua problem: Even if you support zero-based arrays, it's not supported by convention).
As a Scheme/Lua/JS/Python/Ruby/C/Whatever else programmer (I don't know them all well, but I like to keep my hand in), I just don't see what Julia gets me. But that's just me.
A combination of type inference, just in time compiling and multiple dispatch. The function is compiled at run-time if the signature is not already compiled.
I've not really found the 1 index much of a problem, makes translating other code a bit awkward.
The new dynamic indexing scheme (0 based, -10 based, whatever) seems interesting.
What Julia gets me is a stats / machine learning environment I had to awkwardly program in Octave.
Re:Julia 0.5 release
by qwertyuiop924 on Thursday September 22, 2016 @02:38AM
(#12554910)
Neat. Like I said, I don't think I'll be picking it up, but I'm glad it works for you.
This week I have used Julia for running SQL against SQLite, manipulating dictionaries, raytracing, statistical analysis, engineering problems, simplex optimization, processing data from Excel, k-means clustering.
I'm pretty sure none of these would be classed as high-level math exactly, though some math is involved.
Any it's not as strongly typed for writing code as you seem to think
would work to multiply its numeric arguments or concatenate string arguments but it would throw an error on mixed string / numeric argumentsIt also supports duck typing
will work no matter the types of a and b so long as they have the required attributes