The Elm runtime is a system designed to support the execution of programs written in the Elm programming language. The runtime is part of what makes Elm so powerful. It’s all the code that Elm runs behind the scenes, so that we can write programs describing what we want to accomplish and not worry about how Elm executes them. You can see it in action by looking at the output of the command we ran earlier:
We asked the Elm compiler to compile the code in our Elm file (
elm-make is a build tool that uses the Elm compiler behind the scenes. More on this later.
If you look inside the
That’s where the Elm runtime comes in. The
This book won’t cover any of the code inside the Elm runtime. We don’t have to drop down to this level at all to understand how to build complex applications in Elm. That’s one of the reasons Elm is such an easy-to-use language: the creators of Elm have done a lot of the hard work for us. We just build on top of all the features that are already written for us in the runtime.