Skip to content

FourMInfo/HelloJulia.jl

 
 

Repository files navigation

✨ Participating in ResBaz 2022?

Start here either of these workshops:

  • Getting Started With the Julia Programming Language
  • Introduction to Using Julia for Machine Learning

Participating in JuliaCon 2022?

Start here for the workshop Getting started with Julia and machine learning.


HelloJulia.jl

Resources used by the author for a short Introduction to Julia workshop, and a longer Getting started with Julia and machine learning workshop. Tutorials 1 and 2, and some of the demos, are suitable for a one-hour workshop. Add the remaining material for a 3 hour workshop.

Users are not assumed to have any familiarity with Julia but should be know some basic linear algebra and statistics (especially for the extended version).

This README page summarizes some useful resources for starting out with Julia.

To run demos and tutorials presented in the workshop:

here

Is Julia for me?

First steps

See here on how to install Julia on your computer. To install and run the demos and tutorials in this respository, click here

Advanced setup

Once you are familiar with basic interaction using the REPL, you will want to:

  • Hook your Julia installation up with an editor or integrated development environment (IDE) so you can efficiently edit, run and debug longer julia scripts. See these options (scroll down to "Editors and IDEs" and "Essential Tools"). If you don't have an existing preference I recommend VS Code. I prefer emacs, but it is much older and has a steeper learning curve.

  • Or, interact with Julia using a notebook. Here you have two options:

    • Juptyer notebooks (used also for R and python) - follow these instructions.
    • Pluto "reactive" notebooks (specific to Julia)

Getting help

Popular forums for asking your julia questions are Julia Discourse and the Julia Slack channel. Also useful:

Learning Julia

If you have little or no prior programming experience

Many people use R, python or MATLAB packages with a minimum of actual programming knowledge and the same applies to Julia. However, to start deepening your Julia programming knowledge, you could try some of the resources at this Julia org page (e.g., juliaAcademy). I have also heard that the book Think Julia is a pretty good ab initio introduction to programming.

If you have moderate to advanced programming experience elsewhere

If you are already python proficient, check out this Colab notebook.

My strong recommendation would be to read Aaron Christinson's tutorial Dispatching Design Patterns which is nicely compressed in his half-hour video presentation.

These points of difference between Julia and other popular languages may also be useful.

Serious Julia developers will want a copy of Hands-On Design Patterns and Best Julia Practices with Julia by Tom Kwong. This is the book I wished existed when I started. I learned Julia from the manual which is, however, excellent.

Acknowledgements. Some slides used in the presentation for this workshop, and included here, are based on material contributed by Oliver Schultz and Sam Urmy, which is gratefully acknowledged. Oscar Smith, Ian Butterworth, and Carsten Bauer helped with the just-in-time compilation demonstration. The live tutorial deployment is based on PrecompilePlutoCourse.jl.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 98.3%
  • Jupyter Notebook 1.3%
  • Other 0.4%