When alex said that compilation process pass through 5 steps (3 like a normal typescript compiler and 2 angular specials) , is that true only when using AOT compilation or it doesn't matter if it's JIT or AOT compilation ?
First of all: great talk :) However I am not getting one thing: When the typescript compiler is written in typescript, who is compiling the compiler? 🤷♂️
TypeScript compiler compiles the typescript code (.ts files) into javascript files. It takes .ts files and convert it into .js. It's like a automatic machine transforming raw materials into finished products. So, why would you wanna transform that automatic machine ? Similarly, why would one compile a compiler, there is no need of that.
You can write an html template in component file or in external file. The problem with the view engine is that if an error message occurs in the external file, it's hard to locate it. But now the Ivy engine solves this problem.
I love that trick where they add offsets into the template to the generated typescript to link back to the template on error. Such a beautiful hack.
This is the first video(that I am watching), where Alex's camera is not shaking. 😊😊😂😂
Yo that part about adding the number comments is so ugly and cool at the same time. I love and hate it 🤣🤣
When alex said that compilation process pass through 5 steps (3 like a normal typescript compiler and 2 angular specials) , is that true only when using AOT compilation or it doesn't matter if it's JIT or AOT compilation ?
JIT have 3 ( the regular ts compilation ), AOT have the two extra angular specials for analysing and resolving decorators.
Great talk and great work! Enjoyed every minute of it.
Excellent! Thank you very much!
Thank you.
Alex Rickabaugh 👏
First of all: great talk :)
However I am not getting one thing:
When the typescript compiler is written in typescript, who is compiling the compiler? 🤷♂️
TypeScript compiler compiles the typescript code (.ts files) into javascript files. It takes .ts files and convert it into .js. It's like a automatic machine transforming raw materials into finished products. So, why would you wanna transform that automatic machine ? Similarly, why would one compile a compiler, there is no need of that.
The TypeScript compiler compiles itself. This is what is known as a self hosting implementation
Amazing talk !!
awsome video
25:45 I dont understand what Alex means by "template in external file" and why is that a problem with the view engine :/.
You can write an html template in component file or in external file. The problem with the view engine is that if an error message occurs in the external file, it's hard to locate it. But now the Ivy engine solves this problem.
Great talk! 💪
cool explanation thx a lot
19:23 `imports: [...CONFIG.modules]`, we have to spread, right?
Yes