Understanding AOT Compilers, JIT Compilers, and Interpreters

  Рет қаралды 26,969

Engineer Man

Engineer Man

Күн бұрын

Confused about AOT vs JIT vs Interpretation? Look no further. We'll explore these different compilation processes and get to the bottom of what it all means and how it all fits together.
Hope you enjoyed the video!
Check out this code here:
github.com/engineer-man/youtu...
Join my Discord server to chat with me:
/ discord
Check out some code on my GitHub:
github.com/realtux
github.com/engineer-man/youtube
Come visit us on Reddit:
/ engineerman
Other Social:
/ _engineerman
/ engineermanyt

Пікірлер: 61
@damagee8141
@damagee8141 4 жыл бұрын
That's the exact shit I subscribed for. On Point explanation, great structure, easy to follow and no useless/off-topic information. Thank you very much man :)
@alexismandelias
@alexismandelias 4 жыл бұрын
Precisely
@gkytstudio
@gkytstudio 3 жыл бұрын
You Damaged my words :)
@MominBinShahid
@MominBinShahid 2 жыл бұрын
Spot on 👏
@4bbiss
@4bbiss 4 жыл бұрын
Wow, in about 5 minutes, you compressed two hours worth of lecture from my engineering class. AND you explained it better (so much better) than my professor. Valuable channel and content! Subbed.
@eifet
@eifet Жыл бұрын
This is just amazing. Easy, fast, but yet thorough explanation. I was searching for all this stuff on different websites and videos and spent quite a lot of time doing that, but you've managed to explain all that in 5 minutes and much better and clearer! Thank you very much!
@mehmetdemir-lf2vm
@mehmetdemir-lf2vm 4 жыл бұрын
again a good and informative video, but i think a little explanation is required at 1:55: the main problem here is that type of the variables are unknown at compile time. size of string can be unknown but native c++ can handle it by using string class, which uses dynamic memory allocation. it is also possible in aot compilation to use dynamic typing with dynamically allocated pointers that can point to variables with different types, but it is not desired because of slowing execution, unnecessary use of heap memory and burden of allocation/deallocation.
@md.jannatulnayem4328
@md.jannatulnayem4328 2 жыл бұрын
It really explained all that mess that i've been puzzled with for quite a while.Good content 👊
@trooperthatsall5250
@trooperthatsall5250 4 жыл бұрын
I've been in the industry for nearly 30 years and you sir have explained this in a concise, condensed and a way that makes made me realise the time I spent studying these compilers a waste of time and money with the books I purchased. Thank you. ~Trooper
@thekakan
@thekakan 4 жыл бұрын
If you didn't learn the in depth workings in the courses, and just an overview just like this video, then yes, it was a waste of time.
@trooperthatsall5250
@trooperthatsall5250 4 жыл бұрын
@@thekakan many of the courses and books just skim the subject or over complicate it - Our man just explained it in a way that is plain and straight.
@thekakan
@thekakan 4 жыл бұрын
Thanks to you, I found a new use of YAML lol. Great overview btw, it's really well done
@modz9711
@modz9711 3 жыл бұрын
Exactly 😂😂
@lennartsenden1220
@lennartsenden1220 2 жыл бұрын
THANK YOU. Everywhere else it's unclear and contradicitng, this was clear, fast and easy to understand.
@EngineerMan
@EngineerMan 2 жыл бұрын
Glad it helped :)
@FishGup
@FishGup 6 күн бұрын
This was perfect, great explanation!
@user-rt3gg3do4e
@user-rt3gg3do4e 6 ай бұрын
thank you, bro! it is very clear and at the same time short good luck
@tarekali7064
@tarekali7064 4 жыл бұрын
Ty for the concise, informative vid
@andrewpoloni4197
@andrewpoloni4197 4 жыл бұрын
Excellent presentation!
@janaelmourad9681
@janaelmourad9681 9 ай бұрын
Great content , Thank you
@JaishreeramCoder
@JaishreeramCoder 2 ай бұрын
This is exactly what I was looking for
@sarvottammodi7529
@sarvottammodi7529 Жыл бұрын
Great and simple explanation
@m0tivati0n71
@m0tivati0n71 3 жыл бұрын
Very good explanation.
@bruceschneier6283
@bruceschneier6283 4 жыл бұрын
Another great video
@schlaus_kwab
@schlaus_kwab 2 жыл бұрын
Loved it! Thanks
@FATM452
@FATM452 4 жыл бұрын
Really good Ty.
@ahmde
@ahmde 4 жыл бұрын
I like the Engineer Man.
@aryanbhatia6992
@aryanbhatia6992 4 жыл бұрын
Thank you so much man really helpfull
@tg__nano
@tg__nano 2 жыл бұрын
Briliant!
@valp_co
@valp_co 2 жыл бұрын
Wow, even i still no finish the video, though i decided to be a new subs..crack for teaching, amazing!.
@garykapoor5122
@garykapoor5122 4 жыл бұрын
Java has a JIT Compiler in the JRE which is enabled by default, right?
@GuerreroMisterioso95
@GuerreroMisterioso95 4 жыл бұрын
Have you ever written a compiler for any language?
@nikolaysokolov9027
@nikolaysokolov9027 4 жыл бұрын
Thanks a lot! Really cognitive.
@bitcoindaddy748
@bitcoindaddy748 3 жыл бұрын
How does interpretor interest the high level code without actually compiling it down to machine code? I thought machines can only understand machine code
@ZamirMubashir
@ZamirMubashir 10 ай бұрын
😭😭😭
@sreerampanigrahi
@sreerampanigrahi 3 жыл бұрын
Annnnnddd you earned a sub
@diaahanna8882
@diaahanna8882 Жыл бұрын
I still don't understand how interpreter does not compile source into machine code . Isn't all code turned into machine code to run eventually?
@user-yz5lg4te9d
@user-yz5lg4te9d 4 жыл бұрын
Can you make quiz game for android?(On Kivy or android studio)
@malhar2156
@malhar2156 4 жыл бұрын
Which OS are you using bro?
@guillobayun6230
@guillobayun6230 4 жыл бұрын
Hi Engineer man, do you have an email address or some form to ask you some C programming stuff? Thank you
@reezuleanu1676
@reezuleanu1676 6 ай бұрын
Local madlad explains how every type of programming language works in a simple and understandable manner, universities baffled
@danishamjad5807
@danishamjad5807 3 ай бұрын
CPython also has JIT now.
@SaiKumar-vf9lz
@SaiKumar-vf9lz 4 жыл бұрын
For example you're using vscode to develop something and execute it on bash ..then you're using jit aot and interpretors at same time :D
@diegoramos27
@diegoramos27 3 жыл бұрын
"interpretation: no conversion to machine code occurs" I don't think that is correct, you mean there is no compilation to machine code
@federicoyanson3933
@federicoyanson3933 4 жыл бұрын
Is bash jit?
@sebastianwidua2055
@sebastianwidua2055 4 жыл бұрын
No, it's interpreted. And it makes sense because the speed of the shell doesn't really matter that much because most of the time you're just using bash to execute a sequence of other programs. But if you want your scripts to be a little faster you should use dash instead of bash. (dash is like plain old sh but it's pretty fast)
@ivansakal1224
@ivansakal1224 4 жыл бұрын
What are linux shells then? Are they interpreted or jit compiled?
@ProgrammingP123
@ProgrammingP123 4 жыл бұрын
If I would guess, it would be jit, just because bash itself is a scripting language, just like python
@EngineerMan
@EngineerMan 4 жыл бұрын
Bash is interpreted only. Reads it line by line and executes.
@tarekali7064
@tarekali7064 4 жыл бұрын
@@EngineerMan yeah makes sense; probably same thing for batch/zsh/fish
@AshtonSnapp
@AshtonSnapp 2 жыл бұрын
Okay, but how is JIT compilation implemented?
@ZacKoch
@ZacKoch 4 жыл бұрын
This video made me discover jython and cython... Mind is blown. I wonder how much faster pypy is than cpython.
@seanmccrary8300
@seanmccrary8300 4 жыл бұрын
First time seeing your channel. No offense meant at all but you look like your from my neck of the woods. (Western KY) we all bend our caps lol. To see a programmer to break the mold of what a "traditional" one looks like. I just thought it was funny. I love python btw
@EngineerMan
@EngineerMan 4 жыл бұрын
West Florida, probably same thing ;)
@chitranshibelwal6727
@chitranshibelwal6727 2 жыл бұрын
Good lectures of .net technology
@evanbarnes9984
@evanbarnes9984 2 жыл бұрын
Haha, when I first read AOT, I was like, "almost on time? How's that useful?"
@brice1841
@brice1841 3 жыл бұрын
Didn'rt even find it on the marketplace
@michaeldewitt7694
@michaeldewitt7694 4 жыл бұрын
woot
@SelfHelp-kv4yg
@SelfHelp-kv4yg 9 ай бұрын
i feel sleepy..like robot reading
@juandela3549
@juandela3549 4 жыл бұрын
Jit is yet to come in php
@finalfantasy7speedrunners406
@finalfantasy7speedrunners406 2 жыл бұрын
Based on the type of memory device power usually electriccal power is transferred or processed and stored Across the many memory devices this operation is expressed Mathematical but represented via Terms in Physical Sciences code or applications are just programs of power that function based on the hardware architecture and you can read that architecture via schematic symbols theres 100s of them all symbols with there own history
So what's exactly a JIT Compiler? - GeekCampSG 2019
36:53
GeekcampSG
Рет қаралды 16 М.
AOT vs JIT compilation in Java
10:02
Defog Tech
Рет қаралды 62 М.
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 65 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 73 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 78 МЛН
I fixed Lua
2:16:48
Tsoding Daily
Рет қаралды 45 М.
Linux File Permissions and Attributes
8:30
Engineer Man
Рет қаралды 15 М.
Common CSS properties and how they work
11:28
Engineer Man
Рет қаралды 26 М.
I regret doing this...
1:20:07
Tsoding Daily
Рет қаралды 66 М.
Just in Time Compiler
7:53
Jamie King
Рет қаралды 27 М.
Engineer Breaks Down Hollywood Programming Scenes
11:02
Engineer Man
Рет қаралды 22 М.
Compiled Python is FAST
12:57
Doug Mercer
Рет қаралды 103 М.
Java Ahead-of-Time Compilation with Oracle GraalVM
22:16
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 1,1 МЛН
Сколько реально стоит ПК Величайшего?
0:37
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 12 МЛН