So what's exactly a JIT Compiler? - GeekCampSG 2019

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • Speaker: Omer Iqbal
    What exactly makes Javascript so much faster than other dynamic languages? Or why is Pypy so much faster than CPython? And how is it, that our old friend Java, which runs on a “VM”, can almost compete with native compiled languages? The answer partially is due to JIT (Just In Time) compilation.
    Event Page: geekcamp.sg/
    Produced by Engineers.SG

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

  • @deleater
    @deleater 4 года назад +30

    This guy knows his stuff. Very good presentation!

  • @maometus
    @maometus 2 года назад +7

    He said interpreted language doesn't have compile-time only in runtime! this is a commune mistake repeated by many people, actually, interpreter languages do have a compile-time, the only difference from compiled languages is in backend compiling, the compiler is composed of 2 main parts, the front-end compiler which includes: lexer, parser, and types checker, and those happen in the front compiling whatever the language is compiled or interpreted both have the same architecture in this part, and if a mistake occurs here it will be considered a compile-time error even for an interpreted language, and in the backend compiling there are optimizer, generator, and optionally linker then emitter that sends code to the execution and here the main difference, in the interpreted languages the executor will not wait for the generator to finish the translation of the whole code then passed to the execution like in the complied languages, instead, the generation and the execution will happen in the same time, statement by statement, everytime time the generator finished the translation of statement it will be passed immediately to the execution and so on for the next statements, and if an mistake occurs here here it will be considered as a runtime error for the interpreted language, so this the only main diffrence between compiled languages and interpreted languges, so the interpreter is just a compiler with diffrent type of execution.

  • @dickheadrecs
    @dickheadrecs Год назад +3

    alternative title “ios dev dreams all day about apple allowing jit”

  • @Phils3r
    @Phils3r 4 года назад +20

    This is a pretty good explaination for a quite complicate problem. Thank you very much for doing this talk and also upload to youtube. best regards

  • @x3w032j293
    @x3w032j293 4 года назад +2

    Good presentation, thanks!

  • @S3Kglitches
    @S3Kglitches 3 года назад

    great presentation!

  • @karthiknedunchezhiyan1171
    @karthiknedunchezhiyan1171 3 года назад

    Nice explanation!

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

    good stuff mate

  • @diegonayalazo
    @diegonayalazo 2 года назад

    Thanks

  • @copierofvideos2
    @copierofvideos2 2 года назад +1

    This was sensational. Thanks so much for sharing! I learned a lot from this

  • @Estorium
    @Estorium 4 года назад +5

    The language is called Swift, but it takes an hour to compile.
    So not so swift ;)
    I was a hobbiest game programmer in the 90s in high school, and I could fully relate to not relying on the C compiler and writing code straight in assembly language, particularly for graphic engines. I did a speed test of a put pixel written in C vs pure machine code, and the machine code one was about 30 times faster.

    • @EvilSapphireR
      @EvilSapphireR 3 года назад +3

      You could've omitted the 90s part. It's abundantly clear

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

    This was a very nice talk, easy, fun to listen to, and informative.

  • @rohitkumarshrivastava9693
    @rohitkumarshrivastava9693 3 года назад

    Thrilled to see the depth of knowledge Omer Sir have

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

    16:57 hey bro 🤗

  • @KayOScode
    @KayOScode 3 года назад

    As interesting as this is, im still going to write real compilers

  • @brookyonas
    @brookyonas 2 года назад

    this guy is hot, he is super hot.. haha. Great explanation

  • @weic85
    @weic85 3 года назад +3

    I'm pretty sure he is just passionate about the topic, but it just sounds like he is yelling at you