- Видео 3
- Просмотров 110 853
BGZDevTips
США
Добавлен 18 май 2016
Welcome to BogeysDevTips! This channel is dedicated to providing you with up to date knowledge on many computer related development topics such as:
- Web Development
- Computer Programming
- Game Development
- Computer Architecture
- and more!
- Web Development
- Computer Programming
- Game Development
- Computer Architecture
- and more!
Virtual Machines
Video Summary:
What are virtual machines? How can they help developers in their everyday lives? Well find out with this video!
What are virtual machines? How can they help developers in their everyday lives? Well find out with this video!
Просмотров: 346
Видео
Short Lesson - Compilation vs Interpretation
Просмотров 106 тыс.8 лет назад
What exactly are the differences between compiling and interpreting a programming language? What are the pros and cons of each? Find out in this video!
Short Lesson - The Compilation/Translation Process
Просмотров 4,5 тыс.8 лет назад
In this video we go over the process of taking your human readable source code and converting it to machine code for the computer to run. Skip to: Preprocessing Stage: 3:04 Compilation Stage: 5:04 Linking Stage: 8:14
thank you
this is super underrated you know this helped so much in my fundamentals of computing class and programming class
If intermediate languages compile to GIT, but are actually still interpreters, can you call them a hybrid of compiler & interpreter?
I was taking notes and this gave me everything I needed and in a short video to boot
So helpful, thank you!
Thank you sm! You helped me understand it quicker than reading miles of words on google. :D
Your the 5th video I watched for this subject and you by far explained it the best and in less time.
answering to your last question : yes it does! Thank You!
Nice video Thanks 😊ruclips.net/video/SGzEogJt86w/видео.html
Duuuude, that game editor reference :D
This was the best explanation, thank you!
i like how you pronounce the word 'executable' lol
I am guessing that is why you can see JavaScript source code in chrome "View Page Source" because it is interpreted.
PHP has now JIT
Javascript is utilizing JIT.
Java is not interpreted. Java is compiled into bytecode. The bytecode is then interpreted. If Java was interpreted, there would be no need for the -javac command. Java source code is not bytecode. Great video anyway.
THANK YOU
Great video! Finally someone that explains it clearly and concisely
you deserve more subscibers :)
You are great! When is the next video?
Best video out there explaining this stuff.
Inspirational story about importance of Being a balanced controller ruclips.net/video/4BiKhka7APc/видео.html
Why is it that a major piece of software can be provided to consumers as a pre-compiled executable which seems to work on all CPUs within a specific operating system, rather than the user having to compile from source for their hardware? (You can probably guess I'm an absolute beginner when it comes to compiled software.)
Because it has been precompiled for the main CPU families and operating systems. That is when you click on a download link, you would be given the executable that is pre-compiled for your system.
Just to be clear about interpreting, the interpreter doesn't convert the source code to machine code during runtime. Instead a separate pre-compiled program called the interpreter looks at your source code and then decides which functions in itself it will use to get the same effect. The interpreter is a program that already has all the basic functions of a program build into it and is compiled for a specific machine. In reality you always have to have some part of your language dependent on the type of processor due to their unique instruction sets. Java on the other hand actually does compile as it runs each line at a time but this is possible because it firsts compiles java to an intermediate language called byte code. The byte code can be optimized here for runtime-compilation, then it compiles one line at a time directly to machine code. This is referred to as Just In Time (JIT) compilation. A good thing about this is once the program is compiled once, it doesn't have to recompile until some changes are made. That also goes for byte code, you can pass that around after compiling to any machine that has the java virtual machine. A rough analogy for all the systems could be compiling is like ordering a chair from a factory. You give the factory blueprints and it creates the chair from scratch. [Code -> Machine Code] Interpreting is like going to a store that has pre-built chairs, the store looks at your blueprint and finds the best match to what you want. Meanwhile, the store already stocked up on chairs made from a factory. [Code -> Fed into Interpreter -> Interpreter executes some basic function for one expression of code] Java or JIT is like ordering from IKEA. The factory will pre-build parts of the chair for you, but once you get the package at home, you have to put the parts together on the fly. [Code -> Byte code -> runtime compilation] This is my basic understanding of these systems and I hope it helps.
Thanks
what is the benefit of interpreter over compiler?
Finally understand the difference. Thnx
4:33 wait did u say computer engineers? I just graduated from that but had no idea we do those to improve??? Im shookt
Why can't I compile a single line????
Why do I need to compile my JavaScript changes before I check into the build then? Am I technically “compiling” it into IL?
great video, nice voice, clear video and logics. Impressive content.
Thanks so much for sharing. I am taking a class now. Programming is tough for me. I am a visual learner. This helped a ton.
is it too difficult to be clear about whether you are representing a compiler or interpreter?
This is an excellent video! Thank you :)
Thanks man really clear and simple video
Thank you for the clear explanation. Your videos are awesome. Keep it up man 👍
Wait a minute what??? Java and C# are compiled languages not interpreted!
superb !!
is Java not cross-platform.?
Yes it is
Are you whispering in the mic?
cool thanks. I wish my brain was like C#(interpreter). After 2 hours of work, it stops working and needs to recompile my whole life(like C++). Which takes hours and A lot of people dont get it since its not cross platform. I need to share my private parts? My source code is private I need to make it public.
and people might get it… each person has kind of the same source codes, if we go on with the metaphor ;)
Thank you so much man, i owe you one... your video helps me for my college task hahaha...
Thank you so much mate, I couldn't wrap my head around the idea of "compiling/interpreting", coz others use some incomprehensible examples😄
I've seen other people explain it with complicated words to sound more sophisticated.
This is pretty high level. If you truly want to understand, read the compiler book with a dragon on it, trust
Thank you so much ❤️ from 🇩🇿
Interpreters don't translate into machine code directly, this causes confusion for beginners. The difference between an Interpreter and Compiler is not just in timing or sequence but also on the output.
which program did u use to make these slides ??
Thanks.
Thank you
Great clarification ..
Awesome broo
Aaaa I always believed that C# is compiled ... Nice so it is interpreted .. Thanks :)
Not exactly - the CLR JIT-compiles the CIL code method by method just before running and then native machine instructions are stored in some cache areas. It is never interpreted, and methods that are never called just don't get JITted at all. Java, on the other hand, uses the JVM interpreter to execute the bytecode, in conjunction with the HotSpot JITter when there's potential for optimization. Both C# and Java can be AoT-compiled by NGen and LLVM (for example) respectively.
Nice explonation thank you !