-
How do computers read code?
When you first learned to write code, you probably realized that computers don't really have any common sense. You need to tell a computer exactly what you want. But do you know about all the work the computer does to understand what you mean?
0:00 Intro - Where You've Seen Compilers
1:25 Source Code vs. Machine Code
3:38 Translating Source Code to Machine Code
9:05 How Compilers Make Things Easier
10:39 Outro - The Story of Automation
Twitter: https://twitter.com/frameofessence
Facebook: https://www.facebook.com/frameofessence
YouTube: https://www.youtube.com/user/frameofessence
Video links:
Crash Course Computer Science:
https://www.youtube.com/playlist?list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo
Building the Bits and Qubits
https://youtu.be/F8U1d2Hqark
Tools used:
gdb
gcc
Monospa...
published: 16 Nov 2017
-
9. What Compilers Can and Cannot Do
MIT 6.172 Performance Engineering of Software Systems, Fall 2018
Instructor: Tao B. Schardl
View the complete course: https://ocw.mit.edu/6-172F18
YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63VIBQVWguXxZZi0566y7Wf
T.B. Schardl discusses the Clang/LLVM compilation pipeline as well as reasons to study compiler optimizations, how to use compiler reports, and compiler optimization. Three case studies on diagnosing failures are examined.
License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
published: 23 Sep 2019
-
How the C++ Compiler Works
Twitter ► https://twitter.com/thecherno
Instagram ► https://instagram.com/thecherno
Patreon ► https://patreon.com/thecherno
Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb
How the C++ Linker Works ► https://youtu.be/H4s55GgAg0I
BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq
MAIN Camera ► http://geni.us/CYUQ
MAIN Lens ► http://geni.us/ZM3CmG
Microphone ► http://geni.us/wqO6g7K
Slack ► https://slack.thecherno.com
Stream ► http://www.twitch.tv/thecherno
Website ► http://www.thecherno.com
Facebook ► http://www.facebook.com/thecherno
published: 16 Apr 2017
-
COMPILER| INTERPRETER |Difference between Interpreter and Compiler| Interpreter vs Compiler Animated
Computer Fundamentals simpliefied | What is COMPILER | What is INTERPRETER | Difference between Interpreter and Compiler
-compiler design, interpreter vs compiler, compiler vs interpreter, computer system, Computer basics
published: 03 Nov 2017
-
Parser and Lexer — How to Create a Compiler part 1/5 — Converting text into an Abstract Syntax Tree
In this tool-assisted education video I create a parser in C++ for a B-like programming language using GNU Bison. For the lexicographical analysis, a lexer is generated using re2c.
This is part of a multi-episode series. In the next video, we will focus on optimization.
Become a member: https://youtube.com/Bisqwit/join
Downloads:
— https://github.com/bisqwit/compiler_series/tree/master/ep1 All the material associated with this episode can be downloaded here.
Acknowledgements:
— Picture: Processors :: Jason Rogers
— Music¹: Aryol :: The Strategy Continues :: Kyohei Sada (converted into MIDI and played through OPL3 emulation through homebrew software)
— Music²: Star Ocean :: Past Days :: Motoi Sakuraba (SPC-OPL3 conversion)
— Music³: Rockman & Forte :: Museum :: Kirikiri-Chan and others ...
published: 29 Dec 2017
-
Make a compiler - part 1 - lexer
Having some fun, writing a compiler in C
published: 09 Oct 2020
-
Compilers Lecture 1: Compiler Overview (1): Structure and Major Components
Text book:
“Engineering a Compiler”, Second Edition, Keith Cooper and Linda Torczon, Morgan Kaufmann Publishers, 2012
published: 24 May 2019
-
Self Compiling Compilers - Computerphile
Using T-Diagrams, Professor Brailsford shows us how to take our compiler to the next level.
Previous video on t-diagrams: https://www.youtube.com/watch?v=PjeE8Bc96HY
https://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: https://bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
published: 20 Jul 2019
12:01
How do computers read code?
When you first learned to write code, you probably realized that computers don't really have any common sense. You need to tell a computer exactly what you want...
When you first learned to write code, you probably realized that computers don't really have any common sense. You need to tell a computer exactly what you want. But do you know about all the work the computer does to understand what you mean?
0:00 Intro - Where You've Seen Compilers
1:25 Source Code vs. Machine Code
3:38 Translating Source Code to Machine Code
9:05 How Compilers Make Things Easier
10:39 Outro - The Story of Automation
Twitter: https://twitter.com/frameofessence
Facebook: https://www.facebook.com/frameofessence
YouTube: https://www.youtube.com/user/frameofessence
Video links:
Crash Course Computer Science:
https://www.youtube.com/playlist?list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo
Building the Bits and Qubits
https://youtu.be/F8U1d2Hqark
Tools used:
gdb
gcc
Monospaced font:
Menlo-Regular
Images and other visuals:
The IDE in the intro:
Eclipse
Python scripting:
IDLE
Source code distribution example:
Apache httpd on GitHub
Executable distribution examples:
Audacity
VLC media player
Blender
Punch cards:
https://en.wikipedia.org/wiki/File:FortranCardPROJ039.agr.jpg
https://commons.wikimedia.org/wiki/File:Punched_card_program_deck.agr.jpg
Early computers:
https://en.wikipedia.org/wiki/File:BRL61-IBM_702.jpg
https://en.wikipedia.org/wiki/File:IBM_701console.jpg
Complex history of computer languages:
https://en.wikipedia.org/wiki/Generational_list_of_programming_languages
Montage:
Sublime Text
IntelliJ IDEA
https://www.haskell.org/
IntelliJ IDEA again...
Print "Hello, world!" command:
Python shell
Music:
YouTube audio library:
Sunflower
Incompetech:
Call to Adventure
If I Had a Chicken
Premium Beat:
Cutting Edge Technology
Second Time Around
Swoosh 1 sound effect came from here:
http://soundbible.com/682-Swoosh-1.html
...and is under this license:
https://creativecommons.org/licenses/sampling+/1.0/
https://wn.com/How_Do_Computers_Read_Code
When you first learned to write code, you probably realized that computers don't really have any common sense. You need to tell a computer exactly what you want. But do you know about all the work the computer does to understand what you mean?
0:00 Intro - Where You've Seen Compilers
1:25 Source Code vs. Machine Code
3:38 Translating Source Code to Machine Code
9:05 How Compilers Make Things Easier
10:39 Outro - The Story of Automation
Twitter: https://twitter.com/frameofessence
Facebook: https://www.facebook.com/frameofessence
YouTube: https://www.youtube.com/user/frameofessence
Video links:
Crash Course Computer Science:
https://www.youtube.com/playlist?list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo
Building the Bits and Qubits
https://youtu.be/F8U1d2Hqark
Tools used:
gdb
gcc
Monospaced font:
Menlo-Regular
Images and other visuals:
The IDE in the intro:
Eclipse
Python scripting:
IDLE
Source code distribution example:
Apache httpd on GitHub
Executable distribution examples:
Audacity
VLC media player
Blender
Punch cards:
https://en.wikipedia.org/wiki/File:FortranCardPROJ039.agr.jpg
https://commons.wikimedia.org/wiki/File:Punched_card_program_deck.agr.jpg
Early computers:
https://en.wikipedia.org/wiki/File:BRL61-IBM_702.jpg
https://en.wikipedia.org/wiki/File:IBM_701console.jpg
Complex history of computer languages:
https://en.wikipedia.org/wiki/Generational_list_of_programming_languages
Montage:
Sublime Text
IntelliJ IDEA
https://www.haskell.org/
IntelliJ IDEA again...
Print "Hello, world!" command:
Python shell
Music:
YouTube audio library:
Sunflower
Incompetech:
Call to Adventure
If I Had a Chicken
Premium Beat:
Cutting Edge Technology
Second Time Around
Swoosh 1 sound effect came from here:
http://soundbible.com/682-Swoosh-1.html
...and is under this license:
https://creativecommons.org/licenses/sampling+/1.0/
- published: 16 Nov 2017
- views: 2522385
1:18:46
9. What Compilers Can and Cannot Do
MIT 6.172 Performance Engineering of Software Systems, Fall 2018
Instructor: Tao B. Schardl
View the complete course: https://ocw.mit.edu/6-172F18
YouTube Playl...
MIT 6.172 Performance Engineering of Software Systems, Fall 2018
Instructor: Tao B. Schardl
View the complete course: https://ocw.mit.edu/6-172F18
YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63VIBQVWguXxZZi0566y7Wf
T.B. Schardl discusses the Clang/LLVM compilation pipeline as well as reasons to study compiler optimizations, how to use compiler reports, and compiler optimization. Three case studies on diagnosing failures are examined.
License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
https://wn.com/9._What_Compilers_Can_And_Cannot_Do
MIT 6.172 Performance Engineering of Software Systems, Fall 2018
Instructor: Tao B. Schardl
View the complete course: https://ocw.mit.edu/6-172F18
YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63VIBQVWguXxZZi0566y7Wf
T.B. Schardl discusses the Clang/LLVM compilation pipeline as well as reasons to study compiler optimizations, how to use compiler reports, and compiler optimization. Three case studies on diagnosing failures are examined.
License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
- published: 23 Sep 2019
- views: 57362
17:55
How the C++ Compiler Works
Twitter ► https://twitter.com/thecherno
Instagram ► https://instagram.com/thecherno
Patreon ► https://patreon.com/thecherno
Series Playlist ► https://www.youtu...
Twitter ► https://twitter.com/thecherno
Instagram ► https://instagram.com/thecherno
Patreon ► https://patreon.com/thecherno
Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb
How the C++ Linker Works ► https://youtu.be/H4s55GgAg0I
BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq
MAIN Camera ► http://geni.us/CYUQ
MAIN Lens ► http://geni.us/ZM3CmG
Microphone ► http://geni.us/wqO6g7K
Slack ► https://slack.thecherno.com
Stream ► http://www.twitch.tv/thecherno
Website ► http://www.thecherno.com
Facebook ► http://www.facebook.com/thecherno
https://wn.com/How_The_C_Compiler_Works
Twitter ► https://twitter.com/thecherno
Instagram ► https://instagram.com/thecherno
Patreon ► https://patreon.com/thecherno
Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb
How the C++ Linker Works ► https://youtu.be/H4s55GgAg0I
BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq
MAIN Camera ► http://geni.us/CYUQ
MAIN Lens ► http://geni.us/ZM3CmG
Microphone ► http://geni.us/wqO6g7K
Slack ► https://slack.thecherno.com
Stream ► http://www.twitch.tv/thecherno
Website ► http://www.thecherno.com
Facebook ► http://www.facebook.com/thecherno
- published: 16 Apr 2017
- views: 633450
3:43
COMPILER| INTERPRETER |Difference between Interpreter and Compiler| Interpreter vs Compiler Animated
Computer Fundamentals simpliefied | What is COMPILER | What is INTERPRETER | Difference between Interpreter and Compiler
-compiler design, interpreter vs...
Computer Fundamentals simpliefied | What is COMPILER | What is INTERPRETER | Difference between Interpreter and Compiler
-compiler design, interpreter vs compiler, compiler vs interpreter, computer system, Computer basics
https://wn.com/Compiler|_Interpreter_|Difference_Between_Interpreter_And_Compiler|_Interpreter_Vs_Compiler_Animated
Computer Fundamentals simpliefied | What is COMPILER | What is INTERPRETER | Difference between Interpreter and Compiler
-compiler design, interpreter vs compiler, compiler vs interpreter, computer system, Computer basics
- published: 03 Nov 2017
- views: 256276
51:04
Parser and Lexer — How to Create a Compiler part 1/5 — Converting text into an Abstract Syntax Tree
In this tool-assisted education video I create a parser in C++ for a B-like programming language using GNU Bison. For the lexicographical analysis, a lexer is g...
In this tool-assisted education video I create a parser in C++ for a B-like programming language using GNU Bison. For the lexicographical analysis, a lexer is generated using re2c.
This is part of a multi-episode series. In the next video, we will focus on optimization.
Become a member: https://youtube.com/Bisqwit/join
Downloads:
— https://github.com/bisqwit/compiler_series/tree/master/ep1 All the material associated with this episode can be downloaded here.
Acknowledgements:
— Picture: Processors :: Jason Rogers
— Music¹: Aryol :: The Strategy Continues :: Kyohei Sada (converted into MIDI and played through OPL3 emulation through homebrew software)
— Music²: Star Ocean :: Past Days :: Motoi Sakuraba (SPC-OPL3 conversion)
— Music³: Rockman & Forte :: Museum :: Kirikiri-Chan and others (SPC-OPL3 conversion)
— Music⁴: Famicom Tantei Club Part II: Ushiro ni Tatsu Shōjo :: Dean’s Room :: Kenji Yamamoto (SPC-OPL3 conversion), original composition: Bach's Invention № 15
— Music⁵: Aryol :: Arrest :: Kyohei Sada (SPC-OPL3 conversion)
— Music⁶: Ren & Stimpy Show : Fire Dogs :: Main Theme :: Martin Gwynn Jones and others (SPC-OPL3 conversion)
— Music⁷: Aryol :: Warmup :: Kyohei Sada (SPC-OPL3 conversion)
— Music⁸: Energy Breaker :: Golden-Colored Wind :: Yukio Nakajima (SPC-OPL3 conversion)
— Music⁹: Wonder Project J :: House :: Akihiko Mori (SPC-OPL3 conversion)
— SFX: Mostly from YouTube Audio Library. Some are recorded from video games like The Guardian Legend, Lunar Ball, and Super Mario All-Stars.
¹ 00:37, ² 02:46 & 39:26, ³ 10:10, ⁴ 16:06, ⁵ 27:18, ⁶ 37:20, ⁷ 38:58 & 45:58, ⁸ 49:00, ⁹ 50:40
My links:
Twitter: https://twitter.com/RealBisqwit
Liberapay: https://liberapay.com/Bisqwit
Steady: https://steadyhq.com/en/bisqwit
Patreon: https://patreon.com/Bisqwit (Other options at https://bisqwit.iki.fi/donate.html)
Twitch: https://twitch.tv/RealBisqwit
Homepage: https://iki.fi/bisqwit/
You can contribute subtitles: https://www.youtube.com/timedtext_video?ref=share&v;=eF9qWbuQLuw or to any of my videos: https://www.youtube.com/timedtext_cs_panel?tab=2&c;=UCKTehwyGCKF-b2wo0RKwrcg
---Rant---
[9:35 PM] Bisqwit: Now uploading to YouTube. Within about 24 hours I will know if the rogue AI at YouTube slams the “limited or no advertising" stamp into it, or not. Actually, I only know if it does so *when* it does it. Then, I need to wait an additional 25 hours for YouTube staff to manually review it and clear the flag. If the flag does not appear, then it is possible that the bot just has not scanned it yet and I need to wait longer. Premature publication could mean that the bot will mark it after it has already been published, and then I will not receive any revenue for the first spike of views. It used to be 18 hours (since uploading that the bot does its evil deeds), but nowadays YT recommends waiting just 3 hours. We will see, we will see.
#Bisqwit #Compiler #Tutorial
https://wn.com/Parser_And_Lexer_—_How_To_Create_A_Compiler_Part_1_5_—_Converting_Text_Into_An_Abstract_Syntax_Tree
In this tool-assisted education video I create a parser in C++ for a B-like programming language using GNU Bison. For the lexicographical analysis, a lexer is generated using re2c.
This is part of a multi-episode series. In the next video, we will focus on optimization.
Become a member: https://youtube.com/Bisqwit/join
Downloads:
— https://github.com/bisqwit/compiler_series/tree/master/ep1 All the material associated with this episode can be downloaded here.
Acknowledgements:
— Picture: Processors :: Jason Rogers
— Music¹: Aryol :: The Strategy Continues :: Kyohei Sada (converted into MIDI and played through OPL3 emulation through homebrew software)
— Music²: Star Ocean :: Past Days :: Motoi Sakuraba (SPC-OPL3 conversion)
— Music³: Rockman & Forte :: Museum :: Kirikiri-Chan and others (SPC-OPL3 conversion)
— Music⁴: Famicom Tantei Club Part II: Ushiro ni Tatsu Shōjo :: Dean’s Room :: Kenji Yamamoto (SPC-OPL3 conversion), original composition: Bach's Invention № 15
— Music⁵: Aryol :: Arrest :: Kyohei Sada (SPC-OPL3 conversion)
— Music⁶: Ren & Stimpy Show : Fire Dogs :: Main Theme :: Martin Gwynn Jones and others (SPC-OPL3 conversion)
— Music⁷: Aryol :: Warmup :: Kyohei Sada (SPC-OPL3 conversion)
— Music⁸: Energy Breaker :: Golden-Colored Wind :: Yukio Nakajima (SPC-OPL3 conversion)
— Music⁹: Wonder Project J :: House :: Akihiko Mori (SPC-OPL3 conversion)
— SFX: Mostly from YouTube Audio Library. Some are recorded from video games like The Guardian Legend, Lunar Ball, and Super Mario All-Stars.
¹ 00:37, ² 02:46 & 39:26, ³ 10:10, ⁴ 16:06, ⁵ 27:18, ⁶ 37:20, ⁷ 38:58 & 45:58, ⁸ 49:00, ⁹ 50:40
My links:
Twitter: https://twitter.com/RealBisqwit
Liberapay: https://liberapay.com/Bisqwit
Steady: https://steadyhq.com/en/bisqwit
Patreon: https://patreon.com/Bisqwit (Other options at https://bisqwit.iki.fi/donate.html)
Twitch: https://twitch.tv/RealBisqwit
Homepage: https://iki.fi/bisqwit/
You can contribute subtitles: https://www.youtube.com/timedtext_video?ref=share&v;=eF9qWbuQLuw or to any of my videos: https://www.youtube.com/timedtext_cs_panel?tab=2&c;=UCKTehwyGCKF-b2wo0RKwrcg
---Rant---
[9:35 PM] Bisqwit: Now uploading to YouTube. Within about 24 hours I will know if the rogue AI at YouTube slams the “limited or no advertising" stamp into it, or not. Actually, I only know if it does so *when* it does it. Then, I need to wait an additional 25 hours for YouTube staff to manually review it and clear the flag. If the flag does not appear, then it is possible that the bot just has not scanned it yet and I need to wait longer. Premature publication could mean that the bot will mark it after it has already been published, and then I will not receive any revenue for the first spike of views. It used to be 18 hours (since uploading that the bot does its evil deeds), but nowadays YT recommends waiting just 3 hours. We will see, we will see.
#Bisqwit #Compiler #Tutorial
- published: 29 Dec 2017
- views: 345290
50:03
Compilers Lecture 1: Compiler Overview (1): Structure and Major Components
Text book:
“Engineering a Compiler”, Second Edition, Keith Cooper and Linda Torczon, Morgan Kaufmann Publishers, 2012
Text book:
“Engineering a Compiler”, Second Edition, Keith Cooper and Linda Torczon, Morgan Kaufmann Publishers, 2012
https://wn.com/Compilers_Lecture_1_Compiler_Overview_(1)_Structure_And_Major_Components
Text book:
“Engineering a Compiler”, Second Edition, Keith Cooper and Linda Torczon, Morgan Kaufmann Publishers, 2012
- published: 24 May 2019
- views: 8040
12:56
Self Compiling Compilers - Computerphile
Using T-Diagrams, Professor Brailsford shows us how to take our compiler to the next level.
Previous video on t-diagrams: https://www.youtube.com/watch?v=PjeE...
Using T-Diagrams, Professor Brailsford shows us how to take our compiler to the next level.
Previous video on t-diagrams: https://www.youtube.com/watch?v=PjeE8Bc96HY
https://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: https://bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
https://wn.com/Self_Compiling_Compilers_Computerphile
Using T-Diagrams, Professor Brailsford shows us how to take our compiler to the next level.
Previous video on t-diagrams: https://www.youtube.com/watch?v=PjeE8Bc96HY
https://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: https://bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
- published: 20 Jul 2019
- views: 139707