The Layers of a Nerves Project
Chances are, you’re working with Nerves because it’s built on a high-level language that gives you features you need, like crash protection and concurrency. In truth, Elixir does make building such systems easier than languages like C because you don’t have to write these layers for concurrency and stability yourself. There is a cost to using Nerves, though. You need to understand how the existing Elixir services work to provide the services your project will need. At its core, you’re going to be using a feature called OTP.
Embrace OTP
If you haven’t already learned about OTP, don’t fret. We’ll tell you what you need to know. Still, it would pay to put it on your list of things to learn soon. Groxio has a good OTP ...
Get Build a Binary Clock with Elixir and Nerves 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.