Understanding AOT Compilers, JIT Compilers, and Interpreters

  Рет қаралды 28,824

Engineer Man

Engineer Man

Күн бұрын

Пікірлер: 63
@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 4 жыл бұрын
You Damaged my words :)
@MominBinShahid
@MominBinShahid 3 жыл бұрын
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.
@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.
@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!
@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.
@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 :)
@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 😂😂
@hoover91125_ouo
@hoover91125_ouo 4 ай бұрын
Thanks! This is the most concise and precise explanation I can find.
@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
@md.jannatulnayem4328
@md.jannatulnayem4328 3 жыл бұрын
It really explained all that mess that i've been puzzled with for quite a while.Good content 👊
@diaahanna8882
@diaahanna8882 2 жыл бұрын
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?
@СергейЗинченко-т2к
@СергейЗинченко-т2к Жыл бұрын
thank you, bro! it is very clear and at the same time short good luck
@bitcoindaddy748
@bitcoindaddy748 4 жыл бұрын
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 Жыл бұрын
😭😭😭
@FishGup
@FishGup 5 ай бұрын
This was perfect, great explanation!
@JaishreeramCoder
@JaishreeramCoder 7 ай бұрын
This is exactly what I was looking for
@evanbarnes9984
@evanbarnes9984 2 жыл бұрын
Haha, when I first read AOT, I was like, "almost on time? How's that useful?"
@reezuleanu1676
@reezuleanu1676 11 ай бұрын
Local madlad explains how every type of programming language works in a simple and understandable manner, universities baffled
@federico.yanson
@federico.yanson 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
@danishamjad5807
@danishamjad5807 9 ай бұрын
CPython also has JIT now.
@GuerreroMisterioso95
@GuerreroMisterioso95 4 жыл бұрын
Have you ever written a compiler for any language?
@buzzbuzz20xx
@buzzbuzz20xx 4 сағат бұрын
Amazing video !!!
@AshtonSnapp
@AshtonSnapp 2 жыл бұрын
Okay, but how is JIT compilation implemented?
@garykapoor5122
@garykapoor5122 4 жыл бұрын
Java has a JIT Compiler in the JRE which is enabled by default, right?
@sarvottammodi7529
@sarvottammodi7529 2 жыл бұрын
Great and simple explanation
@malhar2156
@malhar2156 4 жыл бұрын
Which OS are you using bro?
@janaelmourad9681
@janaelmourad9681 Жыл бұрын
Great content , Thank you
@andrewpoloni4197
@andrewpoloni4197 4 жыл бұрын
Excellent presentation!
@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!.
@FATM452
@FATM452 4 жыл бұрын
Really good Ty.
@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
@ahmde
@ahmde 4 жыл бұрын
I like the Engineer Man.
@tarekali7064
@tarekali7064 4 жыл бұрын
Ty for the concise, informative vid
@m0tivati0n71
@m0tivati0n71 4 жыл бұрын
Very good explanation.
@bruceschneier6283
@bruceschneier6283 4 жыл бұрын
Another great video
@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 ;)
@schlaus_kwab
@schlaus_kwab 2 жыл бұрын
Loved it! Thanks
@user-yz5lg4te9d
@user-yz5lg4te9d 4 жыл бұрын
Can you make quiz game for android?(On Kivy or android studio)
@tg__nano
@tg__nano 3 жыл бұрын
Briliant!
@ZacKoch
@ZacKoch 4 жыл бұрын
This video made me discover jython and cython... Mind is blown. I wonder how much faster pypy is than cpython.
@guillobayun6230
@guillobayun6230 4 жыл бұрын
Hi Engineer man, do you have an email address or some form to ask you some C programming stuff? Thank you
@brice1841
@brice1841 3 жыл бұрын
Didn'rt even find it on the marketplace
@aryanbhatia6992
@aryanbhatia6992 4 жыл бұрын
Thank you so much man really helpfull
@sreerampanigrahi
@sreerampanigrahi 3 жыл бұрын
Annnnnddd you earned a sub
@juandela3549
@juandela3549 4 жыл бұрын
Jit is yet to come in php
@chitranshibelwal6727
@chitranshibelwal6727 2 жыл бұрын
Good lectures of .net technology
@michaeldewitt7694
@michaeldewitt7694 4 жыл бұрын
woot
@SelfHelp-kv4yg
@SelfHelp-kv4yg Жыл бұрын
i feel sleepy..like robot reading
@nikolaysokolov9027
@nikolaysokolov9027 4 жыл бұрын
Thanks a lot! Really cognitive.
@finalfantasy7speedrunners406
@finalfantasy7speedrunners406 3 жыл бұрын
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
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 283 М.
Metaprogramming and JIT Compilers - A Brief Overview
15:59
VoxelRifts
Рет қаралды 30 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
why do void* pointers even exist?
8:17
Low Level
Рет қаралды 399 М.
AOT vs JIT compilation in Java
10:02
Defog Tech
Рет қаралды 65 М.
Getting Started with WebAssembly and Rust: A First Look
9:35
Engineer Man
Рет қаралды 70 М.
Java (Compiler, Interpreter, JIT)
10:01
smackdounnkol
Рет қаралды 57 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 409 М.
I made JIT Compiler for Brainf*ck lol
3:07:56
Tsoding Daily
Рет қаралды 87 М.
Make Python code 1000x Faster with Numba
20:33
Jack of Some
Рет қаралды 448 М.