How for/while/do loops REALLY work in JavaScript and how they're all the same at a byte code level
In this video we will look at how your Javascript code works at a bytecode level.
We look in particular at how for loops, while loops are represented at a byte code level and how they are represented as the same underneath. Not only we do look at loops but we also look at conditionals such as if statements and ternary operators and how they are represented.
All in all, we use the popular FizzBuzz coding exercise to bring this to life, and we finish it off with a light bit of code golf.
00:00 Introduction
01:17 What is FizzBuzz
02:57 Coding FizzBuzz
09:23 FizzBuzz bytecode
12:09 while loop bytecode
15:20 do loop bytecode
17:25 for loop bytecode without conditionals
20:20 while loop without conditionals and with jump labels bytecode
25:00 for..in bytecode
28:00 if statement bytecode
36:30 ternary operator
40:00 code golf
43:40 conclusion
This video really focuses on how you can become an Advanced JavaScript developer through focusing on how your source code gets translated into bytecode by the ignition interpreter in the Javascript V8 engine that powers chrome, chromium browsers and nodejs.
This video is beginner friendly.
Видео How for/while/do loops REALLY work in JavaScript and how they're all the same at a byte code level канала Chris Hay
We look in particular at how for loops, while loops are represented at a byte code level and how they are represented as the same underneath. Not only we do look at loops but we also look at conditionals such as if statements and ternary operators and how they are represented.
All in all, we use the popular FizzBuzz coding exercise to bring this to life, and we finish it off with a light bit of code golf.
00:00 Introduction
01:17 What is FizzBuzz
02:57 Coding FizzBuzz
09:23 FizzBuzz bytecode
12:09 while loop bytecode
15:20 do loop bytecode
17:25 for loop bytecode without conditionals
20:20 while loop without conditionals and with jump labels bytecode
25:00 for..in bytecode
28:00 if statement bytecode
36:30 ternary operator
40:00 code golf
43:40 conclusion
This video really focuses on how you can become an Advanced JavaScript developer through focusing on how your source code gets translated into bytecode by the ignition interpreter in the Javascript V8 engine that powers chrome, chromium browsers and nodejs.
This video is beginner friendly.
Видео How for/while/do loops REALLY work in JavaScript and how they're all the same at a byte code level канала Chris Hay
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
FizzBuzz - A history and how it became popular | Coding Tests | Computer Sciencewhy you should always set NODE_ENV in your production node.js docker imagesgame engines like colyseus will be as big as cms, crm or commerce in the metaverse (decentraland)replace webpack with esbuild as your bundler with create react appJavascript Rest Parameters Explained... why do i keep seeing triple dots everywhere in ES6/ES2015OpenAI O1 models probably trained gpt-4o and turbo in chain of thoughtSCALING GOOGLE CLOUD FUNCTIONSIs Python a souped up Basic Calculator?Can GPT-4 code in a dead programming language?Javascript Spread Operators with Object Literals ES2018procedures and functions with nim languageHow RUST Primitive Types and Functions REALLY Work Under the Hood in Rust Programming with AssemblySHOCKED at how my AI Language model learned to reverse a string #gpt #aigpt #llm #shortsWhat is IPFS? How does IPFS work with NFT's and Opensea. Getting Started with IPFS TutorialWhat a stack is and how it REALLY works in JavaScript... are you really sure you know?conditionals and loops in nim languageintroduction to wapm (webassembly package manager) tutorial using wasmer, assemblyscript and as-wasiPersona Stories vs User Stories in Agile Software DeliveryUsing AltspaceVR and MRE to build a Chuck Norris quote generator in the metaverse hosted in Azureai driven metahuman design thinking personas