5

After searching about Ivy and AOT I am confused, who is really compile the code?

1

1 Answer 1

25
  1. Angular Ivy is the new default rendering engine.
  2. Starting from version 9 of Angular, your TypeScript code will be compiled using Ivy instead of the older ViewEngine (VE).
  3. Basically, Ivy decreases your bundle sizes, enhances testing, and improves debugging capabilities. In addition, Ivy uses Ahead-of-Time compilation to speed up your apps.

To summarise -

+---------------------------+-------------------+
| Ivy                       | AOT               |
+---------------------------+-------------------+
| It is a rendering engine. | It is a compiler. |
+---------------------------+-------------------+

Real difference would be between -

  1. Ivy vs ViewEngine(VE)
  2. AOT vs JIT

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.