Introducing Julia

From Wikibooks, open books for an open world
Jump to: navigation, search
« Introducing Julia
Getting started


Julia is a recent arrival to the world of programming languages, and tutorials and introductory texts are now starting to appear.

The official Julia documentation is pretty good (although it needs more examples!), but it's aimed primarily at the early adopters, developers, and more experienced programmers. Once you've learned the basics of the language, you should refer to it as often as possible. This wikibook is intended more for the less experienced and occasional programmer. For more learning materials, including links to books, videos, articles/blogs and notebooks, refer to the learning section at Julia's official site.

The Julia community has established a good ethos of encouraging participation in the development of the language on github. The advantage of this wikibook is that it's made and edited by the Julia community – you can edit anything at any time. If you find something that's wrong, or unclear, feel free to correct it, or add examples. (Your first few edits are reviewed, just in case you have less than good intentions. And, as with the Wikipedia, you should expect your writing to be edited by others!) The focus should be largely on the new user, rather than the computer science expert.

This wikibook generally refers to the latest version of Julia, version 0.6 (released May 2017), which replaced Julia version 0.5 (released September 2016). There are some sections (such as Dataframes) which are still awaiting updates, because the packages they refer are being updated in preparation for Julia version 0.7, due later this year (2018).


Getting started
some introductory words, installation, paths, and various bits of magic
Using the REPL; Julia as a calculator; getting help
Arrays and tuples
Storing data – Arrays and tuples; the core of Julia and scientific programming
a quick introduction to types, the way to organize your code and the secret to making your programs fast
Controlling the flow
loops and decisions; ifs and elses
functions and methods; multiple dispatch
Dictionaries and sets
storing data in dictionaries and sets
Strings and characters
working with strings
Working with text files
reading data from text files; elementary file processing
Working with dates and times
working with date and time functions
Plotting; an introduction to some of the plotting packages
metaprogramming, expressions and macros
Modules and packages
how Julia code is organized, and should be developed
data frames; organizing data in tables

External links[edit]