Day 3: Become One with Julia

On our final day with Julia, it’s time to look at a larger example of what the language can do. After a brief tour of Julia’s macro system, we’ll explore image processing algorithms and see how easy it is to manipulate data using all the tools you’ve seen on previous days.

Macros are familiar to most people from their incarnation in C as simple string substitution systems, but Julia’s macros come from Lisp. Julia’s macros take code as input and output a transformed version. They don’t operate on strings but on the parsed tree structure of the language.

Julia, though young, has a rich set of functions for doing scientific computing. Statistics, linear algebra, and finite element methods all have ample tooling due ...

Get Seven More Languages in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.