/ Home
Julia Basics
Note: Better than Python
How to install Julia on Mac?
brew update
brew tap staticfloat/julia
brew install julia
How to install Julia on Ubuntu?
cd ~/Downloads
wget https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-1.1.0-linux-x86_64.tar.gz
tar -xvzf julia-1.1.0-linux-x86_64.tar.gz
sudo cp -r julia-1.1.0 /opt/
sudo ln -s /opt/julia-1.1.0/bin/julia /usr/local/bin/julia
verify with typing the word below:
julia
How to install Julia on Ubuntu
Julia Basic samples
How to run a file in Julia?
julia abc.jl
Julia pros and cons
Pros:
- 10 times faster than Python
- Math friendly syntax
- Automatic memory management
- Better parallelism
- Dynamic Type System
Cons:
- Library installation is too hard
- No proper community support
- Not enough third party packages
- Julia’s arrays are one indexed