liveBook · Manning

Ahead-of-time compilation

Ahead-of-time compilation is the translation of program code into executable or loadable form before program execution begins.

How 3 Manning books explain it

Clojure: The Essential Reference

Ahead-of-time compilation is compilation performed before program execution to produce an executable or loadable representation.

How it is used
Caches compiled Clojure as class files to improve startup and support Java and other JVM-language access.
How deep it goes
Explains class-file output, loading precedence, build trade-offs, and compile-time configuration; does not provide an incremental-build procedure.
Examples
Demonstrates compiled namespaces, a generated Java `main` method, and builds that omit assertions or colocated tests.
What you can do after
Operate/configure it with `compile` and compile-time bindings, while weighing startup and interoperability benefits against version and build constraints.

Read how Clojure: The Essential Reference explains ahead-of-time compilation →

Deep Learning with JAX

Compilation performed before execution time so the resulting code can run without a warm-up JIT step.

How it is used
Controls when JAX lowers and compiles functions to eliminate first-call JIT startup work.
How deep it goes
Explains staging, StableHLO lowering, device compilation, fixed signatures, and transformation limits without detailing compiler internals.
Examples
Demonstrates SELU compilation, observable side effects, mismatched scalar types, and attempted batching with vmap.
What you can do after
Apply it via JAX's jax.stages API and lower().compile() workflow when startup timing and compilation control matter.

Read how Deep Learning with JAX explains ahead-of-time compilation →

Modern Angular

Ahead-of-time compilation is compilation performed before an application is deployed or executed.

How it is used
Deploys Angular applications with templates compiled before production execution.
How deep it goes
Contrasts development and production compilation, then connects precompiled templates to browser execution and server-side rendering.
Examples
Uses ng serve for development and ng build for a precompiled production application.
What you can do after
Apply it via Angular CLI by building a precompiled application for production deployment and server-side rendering.

Read how Modern Angular explains ahead-of-time compilation →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.