Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
What problem or problems do you see with everybody creating their own engines in JavaScript, just like
we did?
Right?
Can we just create our own engine and all of a sudden, boom, there it is.
We have our JavaScript engine.
Well, yes, you can definitely do that.
But remember our list over here how it was called script engines and not JavaScript engines.
That's because if everybody can just create a JavaScript engine, it'll just be total chaos, which
is why a script was created.
It tells people, Hey, here's the standard and how you should do things in JavaScript and how it should
work.
And the script is the governing body of JavaScript that essentially decides how the language should
be standardized.
So it tells engine creators this is how JavaScript should work, but internally how you build the engine
is up to you as long as it conforms to the standards.
And if we go back to our example over here, this engine inside of this box, as long as it conforms
to my script standards, I can do whatever I want as an engine creator.
So companies and organizations are battling to have the fastest engine so people use their tool.
For example, Google is really interested in having the fastest engine so that more people use their
Chrome browsers, so that they use their search engine so that they can sell more ads and make more
revenue.
But keep this in mind that this can be implemented any way we want and it constantly changes to find
the fastest way possible to have JavaScript work in our browsers or even outside of our browsers.
And we're going to be talking about the V8 engine here because it is the most popular.
And you might see some different variations of this.
But what we're going to talk about here applies to most JavaScript engines.
And although things may change over time, as long as you understand the principles and why it's built
the way it is, we're going to be able to understand how to write optimized code.
But before we get into that, let's talk about what these things are.
We have the interpreter and the compiler.
I'll see you in the next video.
Bye bye.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.