Book description
What you’ll learn—and how you can apply it
Julia's type system is one of its key features, and enables both flexible programming and fast performance. But, what is a type and how can it optimize your code?
In this lesson, we'll introduce types in Julia, and discuss how to use them effectively in your code. We'll explore Julia’s built-in types as well as show you how to define your own, including defining custom constructor methods. We'll also help you get a feel for various design decisions you'll face, such as when to use mutable vs. immutable types.
This lesson is for you because
You are a relatively new Julia developer looking for a firm foundation in Julia's type system. You want to write code that is high-performance without sacrificing maintainability.
Prerequisites:
- None
Materials or downloads needed:
- Julia 0.6
About the instructors
Spencer Russell is a researcher and PhD candidate at the MIT Media Lab, where his work has ranged from wireless mesh networks and sensor infrastructure to audio spatialization and
Publisher resources
Product information
- Title: Learning Julia: Introduction to Types
- Author(s):
- Release date: October 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491999639
You might also like
book
Using Asyncio in Python
If you’re among the Python developers put off by asyncio’s complexity, it’s time to take another …
book
The Joy of Kotlin
The Joy of Kotlin teaches you to write comprehensible, easy-to-maintain, safe programs with Kotlin. In this …
book
Designing Machine Learning Systems
Machine learning systems are both complex and unique. Complex because they consist of many different components …
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …