Introduction
The Julia programming language is easy to use, fast, and powerful. This wikibook is intended as an introduction to the language 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 official Julia documentation is excellent, and you should refer to it as often as possible.
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.
Outline
- Getting started
- some introductory words, installation, paths, and various bits of magic
- The REPL
- Using the REPL; Julia as a calculator; getting help
- Arrays and tuples
- Storing data – Arrays and tuples; the core of Julia and scientific programming
- Types
- 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
- 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
- Plotting; an introduction to some of the plotting packages
- Metaprogramming
- metaprogramming, expressions and macros
- Modules and packages
- how Julia code is organized, and should be developed
- DataFrames
- data frames; organizing data in tables
- Migrating From Other Languages
- Julia for users of other programming languages
External links
- search the docs – search documents for the Julia language.
- The Julia manual – the official rulebook: current and in-development documentation is available here.
- JuliaHub – a Julia Computing service that includes search of all registered open source package documentation, code search, and navigation by tags/keywords. It is powered by Julia Team.
- JuliaObserver – see what packages are popular and/or trending, navigate by package categories.
- Julia.jl – a manually curated taxonomy of Julia packages
- A Month of Julia – 38 blog posts about using Julia.