Talk title
The Secrets Behind Angular’s Lightning Speed
Talk description
Angular developers rarely have the need to write super optimized code. In application development we tend to favor readability over optimization. But this approach doesn’t guarantee fast execution of the code.
With frameworks, the situation is reversed. Frameworks have to be really fast. Interestingly, there are techniques that make JavaScript code run faster. You’ve probably heard about monomorphism, bit fields or bloom fliters, right? Maybe you've even used some of them. Over the past year I’ve seen them all and a bunch of other interesting techniques while reverse-engineering Angular.
In this talk I want to share my findings with you. You may end up applying this knowledge at work or, who knows, may even use it to make Angular run even faster.
Talk takeaways
Monomorphic code executes up to 100 times faster than polymorphic
Bloom filters can be used as efficient optimization layer for fast search
Angular's compiler significantly contributes to the speed of the framework
About Maxim
Max is adept at architectural patterns in JS frameworks. He finds them and tries to explain them in plain English. He is a self-taught software engineer that believes in fundamental knowledge and hardcore learning. He’s the founder of Angular In Depth blog and community and one of the top Angular contributors on StackOverflow. He is a Google Developer Expert in Web Technologies and holds the title of Microsoft’s Most Valuable Professional. He currently works as a Developer Advocate at ag-Grid.