Julia Language

This a place to share my experience installing and using Julia programming language. And 11 min introduction to its development context: Solving the Two Language Problem | ODSC East 2016 | Stefan Karpinski.

Official website: http://julialang.org/

github website: https://github.com/JuliaLang/julia

Tutorials

My interest on Julia increased after watching the begging of this talk Introduction to Julia - Part 1 | SciPy 2014 | David Sanders.

Tutorial material.

v0.3

I started using the Julia from my Ubuntu 14.04, that is the version 0.3. Unfortunately, this version do not supports the IJulia, to I needed to move to v0.4.

Generic binaries - v0.4

I started using the generic complied binaries from the website (v0.4.5). However, when I applied the fractals example from Sanders that took 0.25 seg to run in his machine, on mine took 145.5 seg! Then, I decided to build it on my own...

github - v0.5-dev

When you want source code, you go directly to the git, right? That was what I did, but I forgot of something very important: if you just clone the main branch, you probably will grab the under-development one.

So, I compiled the v0.5, and it worked nicely. The fractals example ran in the expect time. However, because I think it is a dev version, there were a lot do deprecated and warning messages, which I'm not expecting to see. Because of this, I decided to build the last stable version.

ipython

"IJulia" is based on the IPython notebook. But, for some reason, I couldn't make IJulia run in IPython 4.x (I tried at least 2 versions). With IPython 3.x, it worked well.

Stable - v0.4.6

Now I'm compiling it to see if I can work with the IPython 4.x and if I get less warning messages... The whole compiling process takes about 1 hour.

Download: http://julialang.org/downloads/ > Source > GitHub

make
# After finish, update 'x' below by your compiled version
cp -R julia-x/* ~/.local/

After compiling:

julia> Pkg.add("PyPlot")
julia> Pkg.add("IJulia")
cd ~/ipynb
ipython notebook

Success!!