Free Programming Books

7 Excellent Free Books to Learn Julia

Julia is a high-level, high-performance dynamic programming language for technical computing by Alan Edelman, Stefan Karpinski, Jeff Bezanson, and Viral Shah. Julia aims to create an unprecedented combination of ease-of-use, power, and efficiency in a single language.

It’s a homoiconic functional language focused on technical computing. While having the full power of homoiconic macros, first-class functions, and low-level control, Julia is as easy to learn and use as Python.

Although Julia is a new language, first appearing in 2012, its roots are in Lisp, so it comes with mature features like macros and support for other metaprogramming techniques like code generation. Julia’s expressive grammar lets you write easy-to-read and easier-to-debug code, and its speed gets you through more work in less time. It’s a great choice whether you’re designing a machine learning system, crunching statistical data, or writing system utilities.

Distinctive aspects of Julia’s design include a type system with parametric polymorphism and types in a fully dynamic programming language and multiple dispatch as its core programming paradigm. It allows concurrent, parallel and distributed computing, and direct calling of C and Fortran libraries without glue code.

Because Julia is a new language there are relatively limited resources to help you get started with it besides the official documentation. But we’ve researched the finest open source resources to help you master the language.

1. Think Julia: How to Think Like a Computer Scientist by Allen Downey, Ben Lauwens

Think Julia: How to Think Like a Computer Scientist

Julia is a unique programming language because it solves the so-called “two languages problem.” No other programming language is needed to write high-performance code. This does not mean it happens automatically. It’s the responsibility of the programmer to optimize the code that forms a bottleneck, but this can done in Julia itself.

This book is for anyone who wants to learn to program. No formal prior knowledge is required.

New concepts are introduced gradually and more advanced topics are described in later chapters.

Think Julia can be used for a one-semester course at the high school or college level.

Think Julia is available under the Creative Commons Attribution-NonCommercial 3.0 Unported License.

Read the book

2. Julia Language: A Concise Tutorial by Antonello Lobianco

Julia LanguageThe purposes of this tutorial are (a) to store things the author has learned himself about Julia and (b) to help those who want to start coding in Julia before reading official documentation.

Chapters cover:

Language core:

  • Getting started.
  • Data types.
  • Control flow.
  • Functions.
  • Custom structures.
  • Input – Output.
  • Managing run-time errors (exceptions).
  • Interfacing Julia with other languages.
  • Metaprogramming.
  • Performances (parallelisation, debugging, profiling…).
  • Developing Julia packages.

Useful packages:

  • Plotting.
  • DataFrames.
  • JuMP.
  • SymPy.
  • Weave.
  • LAJuliaUtils.
  • IndexedTables.

License details are not specified.

Read the book

3. The Julia Express by Bogumił Kaminski

The Julia ExpressThe purpose of this document is to introduce programmers to Julia programming by example. This short book is a simplified exposition of the language.

This is an introductory document. Important topics that a person learning the Julia should be aware of, that are not covered are: parametric types, parallel and distributed processing, advanced I/O operations, advanced package management, interaction with system shell, exception handling, creation of coroutines, and integration with C, Fortran, Python and R.

Chapters cover:

  • Basic literals and types.
  • Special literals and types;
  • Strings.
  • Programming constructs.
  • Variable scoping
  • Modules.
  • Operators.
  • Essential general usage functions.
  • Reading and writing data.
  • Random numbers.
  • Statistics and machine learning
  • Macros.
  • Plotting

The Julia Express is published under the MIT License.

Read the book

Next page: Page 2 – The Julia Language and more books

Pages in this article:
Page 1 – Think Julia: How to Think Like a Computer Scientist and more books
Page 2 – The Julia Language and more books

All books in this series:

Free Programming Books
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
HTMLHyperText Markup Language
SQLAccess and manipulate data held in a relational database management system
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and other languages
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeA general-purpose, functional language descended from Lisp and Algol
PrologA general purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
AwkVersatile language designed for pattern scanning and processing language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
BASICBeginner’s All-purpose Symbolic Instruction Code
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlThe main implementation of the Caml language
ECMAScriptBest known as the language embedded in web browsers
BashShell and command language; popular both as a shell and a scripting language
LaTeXProfessional document preparation system and document markup language
TeXMarkup and programming language - create professional quality typeset text
ArduinoInexpensive, flexible, open source microcontroller platform
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ElixirRelatively new functional language running on the Erlang virtual machine
F#Uses functional, imperative, and object-oriented programming methods
TclDynamic language based on concepts of Lisp, C, and Unix shells
FactorDynamic stack-based programming language
EiffelObject-oriented language designed by Bertrand Meyer
AgdaDependently typed functional language based on intuitionistic Type Theory
IconWide variety of features for processing and presenting symbolic data
XMLRules for defining semantic tags describing structure ad meaning
ValaObject-oriented language, syntactically similar to C#
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized language for fast apps on multiple platforms
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
KotlinMore modern version of Java
Objective-CObject-oriented language that adds Smalltalk-style messaging to C
PureScriptSmall strongly, statically typed language compiling to JavaScript
ClojureScriptCompiler for Clojure that targets JavaScript
VHDLHardware description language used in electronic design automation
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.