Julia 1.0 Released After a Six-Year Wait (insidehpc.com)
An anonymous reader quotes InsideHPC:
Today Julia Computing announced the Julia 1.0 programming language release, "the most important Julia milestone since Julia was introduced in February 2012." As the first complete, reliable, stable and forward-compatible Julia release, version 1.0 is the fastest, simplest and most productive open-source programming language for scientific, numeric and mathematical computing. "With today's Julia 1.0 release, Julia now provides the language stability that commercial customers require together with the unique combination of lightning speed and high productivity that gives Julia its competitive advantage compared with Python, R, C++ and Java."
The Register reports: Created by Jeff Bezanson, Stefan Karpinski, Viral Shah, and Alan Edelman, the language was designed to excel at data science, machine learning, and scientific computing.... Six years ago, Julia's creators framed their goals thus:
"We want a language that's open source, with a liberal license. We want the speed of C with the dynamism of Ruby. We want a language that's homoiconic, with true macros like Lisp, but with obvious, familiar mathematical notation like Matlab. We want something as usable for general programming as Python, as easy for statistics as R, as natural for string processing as Perl, as powerful for linear algebra as Matlab, as good at gluing programs together as the shell. Something that is dirt simple to learn, yet keeps the most serious hackers happy. We want it interactive and we want it compiled...."
In a julialang.org post announcing the milestone, the minders of the language claim to have achieved some of their goals.
The Register reports: Created by Jeff Bezanson, Stefan Karpinski, Viral Shah, and Alan Edelman, the language was designed to excel at data science, machine learning, and scientific computing.... Six years ago, Julia's creators framed their goals thus:
"We want a language that's open source, with a liberal license. We want the speed of C with the dynamism of Ruby. We want a language that's homoiconic, with true macros like Lisp, but with obvious, familiar mathematical notation like Matlab. We want something as usable for general programming as Python, as easy for statistics as R, as natural for string processing as Perl, as powerful for linear algebra as Matlab, as good at gluing programs together as the shell. Something that is dirt simple to learn, yet keeps the most serious hackers happy. We want it interactive and we want it compiled...."
In a julialang.org post announcing the milestone, the minders of the language claim to have achieved some of their goals.
This is really impressive from the technical standpoint, but I am wondering if they have a Code of Conduct for the language?
Didn't RTFM? Julia has several backends including LLVM. Performance is more than respectable. In particular, puts Python to shame and close to Java + JIT but without the JIT lag, load time and memory footprint annoyance.
When all you have is a hammer, every problem starts to look like a thumb.
It's natively compiled, just not statically compiled.
If compiles optimised versions of your functions as needed. So you can define a function that works on any supported numeric type, and when you call it with doubles, it will compile and cache a version of the code optimised specifically for doubles.
As a result, it is very fast for numeric code, without having to create separate function definitions for each supported type.
Otherwise claiming "Julia is the only high-level language that has run at petascale" is a bit of an exaggeration.
My first impression of Julia was favorable. I fired up the command line interpreter and typed in 2 + 2. Prints out 4, just like Python. Then typed in 2**4:
Wow, I like that. I managed to define a function, f(n) = n * n, without reading the manual but didn't get much further without reading the docs docs. But great start, I already see this as a reasonable alternative to what I usually use Python for: a desktop calculator.
Initial impression matters. Now, with a postive one, I will go deeper and see if Julia is really what I should be coding one-offs in, instead of Python or Go.
When all you have is a hammer, every problem starts to look like a thumb.
I want a tool that puts nails in like a hammer, screws screws like a screwdriver, lifts steel like a crane, cuts wood like a saw, digs dirt like a backhoe, shoots animals like a gun, stabs children like a knife...
https://xkcd.com/927/
Except this is a HPC programming language, not a one-size-fits-all HTML5-style standard.
Cheat sheet
When all you have is a hammer, every problem starts to look like a thumb.
Roughly, one should think of this more as a 'next gen fortran' than 'oh this will replace all your programming'.
Python with numpy has been respectable, but there's room for a language built from the ground up around technical computing.
XML is like violence. If it doesn't solve the problem, use more.
Good or bad? Hard to say, but I would rather have these things than not. It is currently the fashion to leave out classes and provide similar functionality with interfaces or equivalent, but I find that a sticking point. Let's see how it goes.
There are situations where goto is far preferable to fiddling with local logic variables and such. Sure, goto can be tricky to implement with respect to local scope and such, but leaving it out to avoid work... doubtful. Leaving out goto for purity reasons... beyond doubtful.
When all you have is a hammer, every problem starts to look like a thumb.
For a technical computing language, One of the major overnights was plotting. It is a mess. There were about 6 different plotting libraries, each with different interface. The most popular was to install python and use Matplotlib.
There has been an attempt to wrap all of them up into plots.jl but you end up with something that never quite covers what you need.
It also uses array indexa starting from 1......
The "language" consists of the compiler (the contents of src/), most of the standard library (base/), and some utilities (most of the rest of the files in this repository).
https://github.com/JuliaLang/j...
Probably someone watching Oracle asserting ownership of the Java base classes. Use was allowed, but not alterations or compatible implementations.
A leprechaun riding atop a unicorn handing out buckets of gold.
If they pull it all off in a single language, more power to them.
No, it doesn't use a template library. Or in a sense, all your code is templates.
It is a lot more like Perl; it runs fast, and you can write it fast too. But reading it is going to take time.
That tradeoff isn't going to go away, it is baked into the range of problems we want to solve with the same tool. The less verbose the language is, the more of the complexity is hidden. That makes it expert-friendly, but it also makes collaboration more difficult.
I prefer the Ruby solution; it can't do everything. Lots of stuff that is hard you would write in C instead. And it has an excellent C interface.
That's great for typical problems, but it doesn't really provide for distributed problems. That's what Julia is for. So it is competing with Go for non-statistical uses, not Python.
But it is mostly competing with matlab and R for those statistical uses. Also, notice they mention LISP instead of Haskell? They're not actually as ambitious as they claim to be.
The multithreading support in Julia 1.0 still says "experimental". So does it have usable threads or not? How good is the thread implementation? Comparable to Java? To C++? Are the standard data structures thread safe? How many spurious locks are there?
Don't worry the hardware will take care of performance issues by the time the product ships*
*Am I joking or not ?
I say the larger content seems to be clearly oriented around scientific computing.
There is a fair amount of ill-advised 'marketing' sort of propaganda that is misleading in their pages however, which is unfortunate as I think the core goal and how they go about it seems respectable enough.
XML is like violence. If it doesn't solve the problem, use more.
Heretic! Splitter! Dimensional fractionator!
The Mandelbrot law is supreme!
I've fallen off your lawn, and I can't get up.