Angular Interview Questions - Difference between JIT and AOT Compiler

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • Angular Interview Questions Difference between JIT and AOT Compiler
    -----------------------------------------------------------------------------------------------------------------------
    In the series of Angular Interview question , In this video we will cover , what is the differences we have between JIT and AOT Compiler
    • JIT - Just-in-Time Compiler : JIT compiles the application in the browser at runtime.
    • AOT - Ahead-of-Time Compiler : AOT compilation compiles the application at build time.
    Differences:
    -----------------------------------------------------------------------------------------------------------------------
    ****************
    JIT -
    ****************
    1. Compile at runtime in the Browser
    2. Larger Angular bundle files size
    3. Detect template errors later at runtime
    4. Slower rendering
    5. More asynchronous requests
    6. Less security
    7. Less Performance
    8. Good for the development
    ****************
    AOT -
    ****************
    1. Compile at build time
    2. Smaller Angular bundle files size
    3. Detect template errors earlier at compile time
    4. Faster rendering
    5. Less asynchronous requests
    6. Better security
    7. Better performance
    8. Good for the production
    Used Command:
    -----------------------------------------------------------------------------------------------------------------------
    ng serve
    ng build --aot --output-hashing none --base-href webcomponent
    Follow Me:
    -----------------------------------------------------------------------------------------------------------------------
    FACEBOOK - / kyprogramming
    TWITTER - / kyprogramming
    RUclips Channel -
    -----------------------------------------------------------------------------------------------------------------------
    / @kyprogramming
    / @kyprogramming
    Code:
    -----------------------------------------------------------------------------------------------------------------------
    github.com/kyp...
    If you have not subscribed yet then please SUBSCRIBE and do not forgot to press the bell icon in order to get notification for all my upcoming videos as well as please like and share to the others as well.
    Interview Questions -
    -----------------------------------------------------------------------------------------------------------------------
    What is difference in between JIT and AOT?
    What JIT and AOT Stands for?
    Difference in between JIT and AOT?
    Is AOT good for development?
    Is JIT good for production?
    What all the difference compilers we have in Angular?
    What is the compilation process in JIT and AOT?
    What was the issue with JIT compiler ?
    Why IVY render engine is being used?
    In which angular version IVY was introduced?
    How to create a service?
    How to create a component?
    How to create a Web component?
    How to migrate component to web component?
    How to use web component to any other application?
    How to configure web component in angular?
    How to pass parameter @Input() to the component?
    How to concatenate java scripts files using node?
    How to use HttpClient module in the web component?
    How to create a new Angular web application?
    How to create a get API angular Service?
    How to create a Movie-Search Component ?
    How to create a component to single standalone java script file?
    How to use Bootstrap CSS to Angular application via Bootstrap's CDN?
    How to use same component multiple times in angular application?

Комментарии • 31

  • @StudyWithGiri
    @StudyWithGiri Год назад +4

    After watching 4 to 5 videos, I understood only by watching this video about AOT and JIT.
    thanks for making this video. I love it

    • @kyprogramming
      @kyprogramming  Год назад

      Thank you very much and glad you liked it.

  • @akchat01
    @akchat01 10 месяцев назад +1

    Nice in depth video, missing these types of video in RUclips, I watched the video in 1.5x. Anyway, keep making, keep teaching ❤❤

    • @kyprogramming
      @kyprogramming  10 месяцев назад

      Thank you 🙏 for your appreciation!

  • @nehruclasses9303
    @nehruclasses9303 Год назад +2

    This is what expected ❤

  • @akiii461
    @akiii461 7 месяцев назад +2

    thanks for the detailed comparison....

  • @vrb199
    @vrb199 Год назад +1

    Awesome explanation, thanks a lot for this video, very helpful ❤

  • @KarthickRajendran-y2v
    @KarthickRajendran-y2v 5 месяцев назад +1

    Thank bro. Very well explained

    • @kyprogramming
      @kyprogramming  5 месяцев назад

      Thanks a lot for your comment 👍

  • @JaroslawKubiak-hq8qd
    @JaroslawKubiak-hq8qd 3 месяца назад +1

    Did you have to put this Subscription notification every minute?

    • @kyprogramming
      @kyprogramming  3 месяца назад +2

      Thanks for your suggestion, I have moved subscription notification in the last for all my later uploaded videos.

  • @forprogrammers6827
    @forprogrammers6827 3 месяца назад +1

    very good explanation.

  • @satishchandra3076
    @satishchandra3076 2 месяца назад +1

    Connecting Database from angular app, pls make a video

    • @kyprogramming
      @kyprogramming  2 месяца назад

      @@satishchandra3076 Dear Satish, angular does not connect directly with database. It connect with the database using API. Certainly I'll make the video on it. Thank you for your suggestion.

  • @omkarmankar1524
    @omkarmankar1524 Год назад +1

    Very well explained

  • @pugazhkrishna1522
    @pugazhkrishna1522 Год назад +1

    Nice explanation

  • @ShahrukhWonder
    @ShahrukhWonder 6 месяцев назад +1

    Best vdo on int

    • @kyprogramming
      @kyprogramming  6 месяцев назад

      Thank you Shahrukh for your comment!

  • @indolinuxtechgaming7037
    @indolinuxtechgaming7037 Год назад

    Bhai please upload more videos on angular
    aapki explanation bhot acchi hai.
    please please please please please please please please please please please please upload more videos on angular
    Thank you

  • @priyankajambhulkar6564
    @priyankajambhulkar6564 Год назад +1

    Very well explained 😊

  • @sona4612
    @sona4612 Год назад +1

    Wow...🔥🔥🔥🔥
    Thanks a lot..
    Just a small doubt. Is the ng serve always JIT, irrespective of whether we put aot as true or false in the angular.json?..
    Please reply.

    • @kyprogramming
      @kyprogramming  Год назад

      When you run the ng build (build only) or ng serve (build and serve locally) CLI commands, the type of compilation (JIT or AOT) depends on the value of the aot property in your build configuration specified in angular. json . By default, aot is set to true for new CLI applications.

    • @kyprogramming
      @kyprogramming  Год назад

      Thank you very much!

    • @sona4612
      @sona4612 Год назад +1

      @@kyprogramming thanks for the clarification