t
IVY: AN OVERVIEW
The state of the next-gen Angular compiler
ROBERTO MONTES
Front-end Developer
IVY FACTS
Next-gen compiling and rendering pipeline
Complete rewrite of the current engine
In Angular 8 only an opt-in
Will be the default in Angular 9
93% complete
COMPILING AND RENDERING PIPELINE??
Translates our HTML templates into browser-feedable JS
Currently adopting a Virtual DOM approach
FROM THIS TO THAT
GOAL
Application performance on mobile devices
Faster initial loading TREE
SHAKING
Bundle size
Low memory footprint
INCREMENTAL
DOM
Improved
memory
allocation
TREE-SHAKING
Build optimization technique
Unused / unreferenced code not included into the final bundle
Static analysis used during build to spot and remove unused code
NOT USING A FEATURE? YOU DON’T PAY FOR THAT
New virtual tree every time a component gets
rerendered
Components compiled down to instructions
VIRTUAL DOM INCREMENTAL DOM
Image source: https://auth0.com/blog/face-off-virtual-dom-vs-incremental-dom-vs-glimmer/
Needs an interpreter
Change only what is needed
No need for interpreters
LOCALITY PRINCIPLE
Components are compiled independently
Each component includes only its own local information
Partial changes are compiled instead of the whole project
No need for metadata.json
Allows shipment of precompiled code (npm anyone?)
CORE FEATURES
Smaller apps
Faster builds
Easier build and template debugging
EASIER DEBUG - build output
VIEW ENGINE IVY
EASIER DEBUG - template errors
VIEW ENGINE
IVY
WHAT NOW (1)
Opt-in aims to help migrate to Ivy more than to showcase its features
Focus has been until now on backward compatibility and stability
Improved build size reductions for mid-to-large projects in the future
WHAT NOW (2)
Image source: https://juristr.com/blog/2019/05/Angular-8-and-the-Future-NGConf-2019-Roundup/#ivy-features
OPTING IN
New projects: ng new whatever-name --enable-ivy
Existing projects
tsconfig.json: angularCompilerOptions: { enableIvy: true }
angular.json: architect.build.options: { aot: true }
use @angular/core@next
TEST DRIVE (1)
VIEW ENGINE IVY
ng serve
ng serve (after edits)
ng build --prod
build size
ng test
TEST DRIVE (2)
ng serve VIEW ENGINE
IVY (6% faster)
TEST DRIVE (3)
ng serve (after edits)
ng test
VIEW ENGINE
IVY (216% slower!)
VIEW ENGINE IVY (19% faster)
TEST DRIVE (4)
ng build --prod
VIEW ENGINE IVY (42% faster)
build size (7% smaller)
Flaminia Montemurro
UI Designer / Front-end Developer
Martina Carta
UI Designer / Front-end Developer
Raul Valentini
Full-stack Developer
CREDITS
Q & A
THANK YOU

More Related Content

PPTX
Angular Ivy- An Overview
PDF
The new features of angular 12
PDF
What’s new in angular 12[highlights of angular 12 features]
PDF
How to deploy angular 12 application using firebase hosting
PPTX
React vs angular what to choose for your app
PPTX
Why choose Angular 6?
PDF
Angular resolver tutorial
PDF
React js vs angularjs
Angular Ivy- An Overview
The new features of angular 12
What’s new in angular 12[highlights of angular 12 features]
How to deploy angular 12 application using firebase hosting
React vs angular what to choose for your app
Why choose Angular 6?
Angular resolver tutorial
React js vs angularjs

What's hot (20)

PPTX
Angular overview
PPTX
THE FUTURE OF ANGULAR JS
PDF
React vs Angular, who wins the competition?
PDF
What are The Top Features of Angular 7?
PDF
EF Core 1: News features and changes
PDF
ASP.NET Web API Deep Dive - SSD 2016 London
PDF
What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tu...
PPTX
angular-formly presentation
PDF
Meetup SkillValue - Angular 6 : Bien démarrer son application
PPTX
Talk for DevFest 2021 - GDG Bénin
DOCX
Angular js training in noida
PPTX
React vs Angular
PPTX
Angular 4 - quick view
ODP
Angular 6 - The Complete Guide
PPSX
Angular 4 fronts
PDF
Comparison Between Angular 11 vs 12 vs 13.pdf
PDF
Angular coding: from project management to web and mobile deploy
PDF
Developing a Demo Application with Angular 4 - J2I
PDF
Angular Meetup 1 - Angular Basics and Workshop
PPTX
Angular 7: Everything You Need to Know!
Angular overview
THE FUTURE OF ANGULAR JS
React vs Angular, who wins the competition?
What are The Top Features of Angular 7?
EF Core 1: News features and changes
ASP.NET Web API Deep Dive - SSD 2016 London
What's New in Angular 4 | Angular 4 Features | Angular 4 Changes | Angular Tu...
angular-formly presentation
Meetup SkillValue - Angular 6 : Bien démarrer son application
Talk for DevFest 2021 - GDG Bénin
Angular js training in noida
React vs Angular
Angular 4 - quick view
Angular 6 - The Complete Guide
Angular 4 fronts
Comparison Between Angular 11 vs 12 vs 13.pdf
Angular coding: from project management to web and mobile deploy
Developing a Demo Application with Angular 4 - J2I
Angular Meetup 1 - Angular Basics and Workshop
Angular 7: Everything You Need to Know!
Ad

Similar to IVY: an overview (20)

PPTX
What is Angular Ivy?
PPTX
Ivy renderer
PPTX
Heading towards the great release of angular 8.0 development observe the uno...
PPTX
Angular 9 New features
PPTX
Angular 19: New Features, Improvements, and What’s Next
PPTX
Angular 2.0
PPTX
Top Features Of Angular 13 You Must Know
PDF
MEAN Stack Warm-up
PDF
Top Features And Updates Of Angular 13 You Must Know
PDF
Angular 12 brought several new features to the table
PDF
Introduction-to-Angular-Language.pdf
PDF
What’s new in angular 13 and why should you use it for web app development pr...
PPTX
Angular 9
PPTX
JS digest. November 2017
PDF
AngularJS in Production (CTO Forum)
PDF
Why angular?
PDF
Angular vs React Choosing the Best Framework in 2025
PDF
three_software_development_trends_to_follow_in_2016
PPTX
Angular intro
PDF
Angular (v2 and up) - Morning to understand - Linagora
What is Angular Ivy?
Ivy renderer
Heading towards the great release of angular 8.0 development observe the uno...
Angular 9 New features
Angular 19: New Features, Improvements, and What’s Next
Angular 2.0
Top Features Of Angular 13 You Must Know
MEAN Stack Warm-up
Top Features And Updates Of Angular 13 You Must Know
Angular 12 brought several new features to the table
Introduction-to-Angular-Language.pdf
What’s new in angular 13 and why should you use it for web app development pr...
Angular 9
JS digest. November 2017
AngularJS in Production (CTO Forum)
Why angular?
Angular vs React Choosing the Best Framework in 2025
three_software_development_trends_to_follow_in_2016
Angular intro
Angular (v2 and up) - Morning to understand - Linagora
Ad

Recently uploaded (20)

PPTX
2025-08-17 Joseph 03 (shared slides).pptx
PPTX
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
PPTX
ANICK 6 BIRTHDAY....................................................
PDF
_Nature and dynamics of communities and community development .pdf
PPTX
TG Hospitality workshop Vietnam (1).pptx
PPTX
Literatura en Star Wars (Legends y Canon)
PDF
Presentation on cloud computing and ppt..
PPTX
Religious Thinkers Presentationof subcontinent
PPTX
Kompem Part Untuk MK Komunikasi Pembangunan 5.pptx
PPTX
Public Speaking Is Easy . Start Now . It's now or never.
PPTX
Phrases and phrasal verb for a small step.
PPTX
PurpoaiveCommunication for students 02.pptx
PDF
Module 7 guard mounting of security pers
PPTX
Unit 8#Concept of teaching and learning.pptx
PDF
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
PPTX
power point presentation ofDracena species.pptx
PPTX
CAPE CARIBBEAN STUDIES- Integration-1.pptx
PPTX
CASEWORK Pointers presentation Field instruction I
PDF
IKS PPT.....................................
PPTX
Knowledge Knockout ( General Knowledge Quiz )
2025-08-17 Joseph 03 (shared slides).pptx
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
ANICK 6 BIRTHDAY....................................................
_Nature and dynamics of communities and community development .pdf
TG Hospitality workshop Vietnam (1).pptx
Literatura en Star Wars (Legends y Canon)
Presentation on cloud computing and ppt..
Religious Thinkers Presentationof subcontinent
Kompem Part Untuk MK Komunikasi Pembangunan 5.pptx
Public Speaking Is Easy . Start Now . It's now or never.
Phrases and phrasal verb for a small step.
PurpoaiveCommunication for students 02.pptx
Module 7 guard mounting of security pers
Unit 8#Concept of teaching and learning.pptx
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
power point presentation ofDracena species.pptx
CAPE CARIBBEAN STUDIES- Integration-1.pptx
CASEWORK Pointers presentation Field instruction I
IKS PPT.....................................
Knowledge Knockout ( General Knowledge Quiz )

IVY: an overview

  • 1. t IVY: AN OVERVIEW The state of the next-gen Angular compiler
  • 3. IVY FACTS Next-gen compiling and rendering pipeline Complete rewrite of the current engine In Angular 8 only an opt-in Will be the default in Angular 9 93% complete
  • 4. COMPILING AND RENDERING PIPELINE?? Translates our HTML templates into browser-feedable JS Currently adopting a Virtual DOM approach FROM THIS TO THAT
  • 5. GOAL Application performance on mobile devices Faster initial loading TREE SHAKING Bundle size Low memory footprint INCREMENTAL DOM Improved memory allocation
  • 6. TREE-SHAKING Build optimization technique Unused / unreferenced code not included into the final bundle Static analysis used during build to spot and remove unused code NOT USING A FEATURE? YOU DON’T PAY FOR THAT
  • 7. New virtual tree every time a component gets rerendered Components compiled down to instructions VIRTUAL DOM INCREMENTAL DOM Image source: https://auth0.com/blog/face-off-virtual-dom-vs-incremental-dom-vs-glimmer/ Needs an interpreter Change only what is needed No need for interpreters
  • 8. LOCALITY PRINCIPLE Components are compiled independently Each component includes only its own local information Partial changes are compiled instead of the whole project No need for metadata.json Allows shipment of precompiled code (npm anyone?)
  • 9. CORE FEATURES Smaller apps Faster builds Easier build and template debugging
  • 10. EASIER DEBUG - build output VIEW ENGINE IVY
  • 11. EASIER DEBUG - template errors VIEW ENGINE IVY
  • 12. WHAT NOW (1) Opt-in aims to help migrate to Ivy more than to showcase its features Focus has been until now on backward compatibility and stability Improved build size reductions for mid-to-large projects in the future
  • 13. WHAT NOW (2) Image source: https://juristr.com/blog/2019/05/Angular-8-and-the-Future-NGConf-2019-Roundup/#ivy-features
  • 14. OPTING IN New projects: ng new whatever-name --enable-ivy Existing projects tsconfig.json: angularCompilerOptions: { enableIvy: true } angular.json: architect.build.options: { aot: true } use @angular/core@next
  • 15. TEST DRIVE (1) VIEW ENGINE IVY ng serve ng serve (after edits) ng build --prod build size ng test
  • 16. TEST DRIVE (2) ng serve VIEW ENGINE IVY (6% faster)
  • 17. TEST DRIVE (3) ng serve (after edits) ng test VIEW ENGINE IVY (216% slower!) VIEW ENGINE IVY (19% faster)
  • 18. TEST DRIVE (4) ng build --prod VIEW ENGINE IVY (42% faster) build size (7% smaller)
  • 19. Flaminia Montemurro UI Designer / Front-end Developer Martina Carta UI Designer / Front-end Developer Raul Valentini Full-stack Developer CREDITS
  • 20. Q & A