V8: an open source JavaScript engine

  Рет қаралды 279,474

Google

Google

Күн бұрын

Пікірлер: 164
@madhououinkyoma
@madhououinkyoma 2 жыл бұрын
Wow, a Google video from not long after the KZbin acquisition. Old times. V8 was the new shiny thing back then.
@ssalmine
@ssalmine 15 жыл бұрын
Subtitles are bit off. When Lars says objects, it is translated 'optics'. Also, pauses -> 'processes'.
@wojtekgame
@wojtekgame Жыл бұрын
The v8 engine is so good that you can almost replicate it.
@Spudst3r
@Spudst3r 9 жыл бұрын
It must be so badass knowing you're the guy that literally made the web experiences of billions of people way faster.
@hendersonfernandes7378
@hendersonfernandes7378 2 жыл бұрын
I thought there was a bung on my screen...
@DavidRussellM
@DavidRussellM 9 жыл бұрын
Learning Node.js, so I am going back over some of the fundamentals. Great video Lars Bak!
@iampanzergrenadier
@iampanzergrenadier 9 жыл бұрын
+David Russell (Heydavidr) I'm in the same road, I feel really excited about everything around V8
@DavidRussellM
@DavidRussellM 9 жыл бұрын
Glad to hear Edson! What type of work are you planning to do with your new found knowledge? =)
@iampanzergrenadier
@iampanzergrenadier 9 жыл бұрын
:) I'm thinking about a simple chrome extension to download youtube audio. In the backend Node.js. Seems to be fun because It has to be high performance so, I guess Linux would be necessary :D but I dont know linux lol, then I have to learn, but Im excited :D and you?
@DavidRussellM
@DavidRussellM 9 жыл бұрын
I am currently building a non-profit memorial website designed to incentivize people to donate to charity, I am super excited! I am mostly using wordpress atm, but I always like to learn something new. =)
@iampanzergrenadier
@iampanzergrenadier 9 жыл бұрын
wow :) thats pretty awesome, good luck in the journey, I hope to hear about it in the future :)
@apoguy322
@apoguy322 2 жыл бұрын
Pretty cool, it so cool that it almost seems like it should be used everywhere by now or smth
@brettm73
@brettm73 14 жыл бұрын
I am North American. I speak Spanish and that's because I lived in a Spanish speaking country for awhile. I could never do this presentation in Spanish. I find English speakers who are ignorant and cannot actually speak a second language themselves are the most discriminating. Lars actually speaks English quite well!
@MennoWolvers
@MennoWolvers 15 жыл бұрын
Amazing how google improves such things
@beardymonger
@beardymonger 14 жыл бұрын
The subtitles are great. It seems he's talking about physics, b/c it says "optics" a lot. Like in: create a new optic. :-) I LOVE GOOGLE (just a fanboi)
@davidhcefx
@davidhcefx 2 жыл бұрын
LOL
@doug65536
@doug65536 11 жыл бұрын
Great presentation. I like this guy.
@gabydewilde
@gabydewilde 16 жыл бұрын
Don't worry about it. The video describes how the googles replaced the javascript steam engine with one that runs on liquid mummies. They went from a live intrepertator to a preconditioned compiler. Script is now a a programing language. Google upgraded it self from a web design firm to a software institution. >:)
@cyborgtroy
@cyborgtroy 15 жыл бұрын
possibly, but Javascript and Java are so different that it would be like comparing the speed of OpenGL to the speed of the Webkit layout engine. Like, they're totally different things...
@themelc
@themelc 14 жыл бұрын
That was awesome. V8 is awesome. Lars Bak for governor!
@zehanimohamedyoussef3736
@zehanimohamedyoussef3736 5 ай бұрын
How can I download or use a specific version of V8 Like V8 4.8.0, checked online didn't find a satisfying answer I don't need the browser for that for the browser using the most recent version of V8 I mainly need Javascript V8 4.8.0 for Codeforces
@gillexstudios
@gillexstudios 10 жыл бұрын
I can just hear he's danish :D
@Aidiakapi
@Aidiakapi 14 жыл бұрын
The way they compile javascript on the fly is even more amazing then the JIT in the CLR from Microsoft's .Net Framework. JavaScript has no rules, everything can be anything, that's making it a hell... Well it's great, and with de Google Chrome Frame for IE, you have a reasonable speed at all browsers. I wonder if Microsoft decided to use V8 in IE9... Let's hope so, well at least they got CSS3.
@akbg
@akbg 16 жыл бұрын
Well, if you run a 32-bit application on top of a 64-bit processor you can't utilise all the added registers included in x86-64 instruction set, so you're theoretically right but practically slightly wrong. (In fact a 64-bit application can be even slower of a 32-bit one if they make massive use of pointers, because they allocate more RAM and so they provoke more cache and memory faults.)
@patrickprakash8
@patrickprakash8 4 жыл бұрын
So this is the guy who created v8
@kc2838
@kc2838 4 жыл бұрын
No, Brendan Eich created V8 engine in 2008. This guy was in the core team responsible for creating v8.
@patrickprakash8
@patrickprakash8 4 жыл бұрын
@@kc2838 But he was the lead developer
@roodborstkalf9664
@roodborstkalf9664 3 жыл бұрын
Turned out to be a very important development.
@patrickprakash8
@patrickprakash8 3 жыл бұрын
@@roodborstkalf9664 Yeah, So bad that he is not famous
@rsteier
@rsteier 12 жыл бұрын
The audio is super quiet, but great explanations!
@53531640
@53531640 16 жыл бұрын
Now I now why I am not a computer prgrammer. All I kept wondering about was how Lars could master English to be able to explain this concept.
@cortexcmdr
@cortexcmdr 13 жыл бұрын
"Optic" = "Object" in Denmark.
@DanyPell
@DanyPell 11 жыл бұрын
I think he was referring to the translation, which show optics instead of objects.
@BradenBest
@BradenBest 12 жыл бұрын
Google, there's one problem with your garbage collection. It doesn't remove properties from arrays when you delete them (delete array[index];), It leaves a null property in the array instead of completely removing it like it does in objects, so after performing a delete, the array will look like this [0, 1, null, 3] instead of what I assume it should look like, [0, 1, 3]
@russotragik
@russotragik 14 жыл бұрын
Why V8 and not Flat-6 or Radial-16?
@adarshsahu330
@adarshsahu330 2 жыл бұрын
Am I The only one who is watching this video in 2022
@ROFFLEWAFFLE2006
@ROFFLEWAFFLE2006 11 жыл бұрын
I literally started a search for "javascript vv8 optics" thinking, "I bet it's some weird new object design pattern that will take days of reading to-oh...nevermind.." as I read this post...:\
@StuartWoodwardJP
@StuartWoodwardJP 14 жыл бұрын
How can we feedback about the subtitles? Every time Lars says "object" the subtitle says "optic"...
@Anoyashu
@Anoyashu 3 жыл бұрын
V8 engine god or what !!!!!!!!!!!
@jbperez808
@jbperez808 14 жыл бұрын
@nanonymousful Yes. He sounds like he's saying "optic", but he clearly _meant_ object. The subs are wrong.
@gamebuster800
@gamebuster800 14 жыл бұрын
I just installed v8 on my machine to embed it in a webserver that executes JS files. I was amazed in how easy it was to get my first Hello World from a JS file.
@ChrisCatesCC
@ChrisCatesCC 13 жыл бұрын
This is fucking perfect. Exactly what I was looking for.
@acid_heart22
@acid_heart22 4 ай бұрын
Seeing these 13,14 year old comments makes me realise how far we have come.
@mohimohi1983
@mohimohi1983 16 жыл бұрын
I've been using 64 bit flash on my 64 bit Arch Linux for more than a month. It's simply great. Much better than the 32 bit version for my 32 bit Ubuntu. Don't know why it's still alpha.
@socialgflea80
@socialgflea80 16 жыл бұрын
Cross platform yes! Linux can use it in Epiphany web browser or any other web browser. Very good.
@DelusionalLogic
@DelusionalLogic 12 жыл бұрын
I have NEVER seen anything that can't be done in ASM (seeing as ASM is really just bytecode with words instead of hex)
@softwarelivre2389
@softwarelivre2389 4 жыл бұрын
And now we have WebAssembly
@jbperez808
@jbperez808 14 жыл бұрын
No, he *clearly* meant OBJECT, not optic. But due to his accent, it comes out sound like optic. What is interesting is if the CC is being done by AI or by human?
@ajarnfrankie
@ajarnfrankie 15 жыл бұрын
I wonder if GM is worried about the use of V8's name?
@Excelsoft
@Excelsoft 11 жыл бұрын
With all respect of course!
@duadin
@duadin 16 жыл бұрын
nice job, thanks alot!
@klaudyuxxx
@klaudyuxxx 14 жыл бұрын
it clearly says OPTIC. It refers to a drawing of a point.
@vaporthug
@vaporthug 13 жыл бұрын
@digerpaji Good luck getting the free marketing advertising, and distribution that comes with a meager 100 dollars a year Apple Developer package. This also includes an incredible IDE / UI, access to extremely responsive forum support, and if yo use all Java, porting to Android, BB, or any java machine should be quite easy. Also cant you write Java Apps in any text editor, like MS Word, BB Edit ? I really dont know myself, but I thought JAVA ( minus objects) are basically runtime text.
@pierredelandre9464
@pierredelandre9464 12 жыл бұрын
Because native code runs faster and has access to the underlying machine.
@JungleNor
@JungleNor 11 жыл бұрын
well, Google created a self subtitled system that scan your video and then post that in the video for thows who want subtitle.
@BradenBest
@BradenBest 12 жыл бұрын
Well, I recreated the result, specifically, to show why it can be a problem. But, the cause of the null value specifically was the delete keyword, as in this summary of what the "-" button does: removeTab = function(){ delete Tabs[Tabs.length-1] save() location.reload() } However, just a minute ago I found out there's an Array.prototype.pop() function which seems to entirely remove the last index of an array. [1,2,3] becomes [1,2].
@akbg
@akbg 16 жыл бұрын
Well, please, instead of repeat "RTFM" can you tell me where (do you think) I'm wrong?
@Aexorzist
@Aexorzist 16 жыл бұрын
To clarify my point: Windows uses an userspace (not kernel) wrapper around the 64 bit libraries to run 32 bit applications. Under Linux you always need to install both 64 bit and 32 bit userspace libraries (e.g. /usr/lib and /usr/lib32) to run 32 bit apps. There is a very minimal performance loss due to this wrapping, and it would also be possible to implement these 32 bit libraries natively on the Windows kernel. It's just a design decision.
@bogdanvolosincu
@bogdanvolosincu 11 жыл бұрын
i like js and java but this statements are so exagerated : "Javascript platform independent", "Java platform independent"
@softwarelivre2389
@softwarelivre2389 4 жыл бұрын
Not really. Works on Windows, Mac, Linux, Android, iOS, blackberry, game consoles, portable consoles, IOT, virtually everywhere, though with a layer of abstraction, that being the Javascript Runtime.
@Poincare101
@Poincare101 14 жыл бұрын
I think he's saying object not optic. +1 if you were confused for a little while
@jmm1233
@jmm1233 13 жыл бұрын
i want to play with it right now
@jacksonkr_
@jacksonkr_ 13 жыл бұрын
If arnold was a coder, he'd likely be this guy.
@snifyy
@snifyy 15 жыл бұрын
I don't got the idea of the 3rd temp class.
@LeeBrenton
@LeeBrenton 14 жыл бұрын
@junkano maybe it was a java-script?
@steblublu
@steblublu 16 жыл бұрын
they made Chrome & V8 to encourage development of their Android platform.
@paulio10
@paulio10 14 жыл бұрын
Nice video overview of V8. Whoever translated the subtitles knows NOTHING about software development. Most of the keywords are completely mistranslated. If Google wants to email me the text of the transcript, I would be happy to correct it and mail it back. Just let me know.
@davidhcefx
@davidhcefx 2 жыл бұрын
Must be a physics student
@siddhartharao8490
@siddhartharao8490 8 жыл бұрын
Is java script an interpreted language, not a compiled language? If yes then what works does V8 js engine do?
@softwarelivre2389
@softwarelivre2389 4 жыл бұрын
Javascript is basically an asynchronous, high-level, dynamically and weakly typed, interpreted or Just In Time compiled language with an Event Loop and an Event Queue.
@ivntl
@ivntl 16 жыл бұрын
what's up with activeX on chrome? not working? that is bad :(
@BradenBest
@BradenBest 12 жыл бұрын
That is a problem when you need the index numbers to be exact. When using a for loop to run through an array, and using the iterator to number blocks that represent part of the array, it will either say null, or if you check if the index exists before writing, blatantly skip a number, which leads to having to make your own garbage collection method to remove the offending index so the structure doesn't suffer. This is exactly the problem I ran into when making a tabbed notepad webapp.
@lionlinux
@lionlinux 11 жыл бұрын
COOL! so easy and fine as spectrum was!!! I want to be in google!!!
@BradenBest
@BradenBest 12 жыл бұрын
No, because if you the same thing on an object, it deletes the entire thing. obj = {0:0, 1:1, 2:2}; delete obj[1]; obj => {0:0, 2:2} While in an array, you have to build your own "garbage collection" method to purge the null value so it doesn't clog up your JSON string.
@fanssex
@fanssex 12 жыл бұрын
I'm having a hard time understanding, too. what kind of business are you in?
@JParril
@JParril 12 жыл бұрын
Oh, I thought optics was some new slang they invented for the wee-eit project.
@granck-c4t
@granck-c4t 11 жыл бұрын
He's Danish. Please have a bit respect for such a smart guy.
@kiddsock
@kiddsock 16 жыл бұрын
OH I should have had a V8!
@RebornAc3
@RebornAc3 10 жыл бұрын
How is V8 faster than SpiderMonkey? Chrome has become like a bloatware now.
@ayanesatomi4250
@ayanesatomi4250 7 жыл бұрын
V8's development is independent of the actual Chrome development. Also, check out some Node.js, it uses V8 and it's really fast.
@softwarelivre2389
@softwarelivre2389 4 жыл бұрын
These days we have not only Node.js, but also Deno.js, both using the V8 engine.
@Tajdev
@Tajdev 12 жыл бұрын
I don't know v8. But I love gooooogle chrome.
@zachdyer1208
@zachdyer1208 9 жыл бұрын
Can the machine code be translated into a binary file?
@dmitryboychev4004
@dmitryboychev4004 9 жыл бұрын
+Zach Dyer of-course
@cyborgtroy
@cyborgtroy 16 жыл бұрын
"You can run on Mac OS or Windows" ... yeah, and I haven't seen Chrome for Linux yet. And it annoys me slightly. But not nearly as much as Flash video annoys me.
@elpresidio
@elpresidio 16 жыл бұрын
I love you Google!
@hprof1
@hprof1 16 жыл бұрын
GOOOOOOOOOOOOOOOOOOOOGLE !!!
@iloveu4avwe
@iloveu4avwe 8 жыл бұрын
Now I should study Nodejs or V8?? please recommend me please
@jotadev1668
@jotadev1668 8 жыл бұрын
Node.js uses V8 as runtime execution. Understand V8 will help you to improve your code performance in Node.js
@DanniV8
@DanniV8 11 жыл бұрын
I like that name :D
@vov4egde
@vov4egde 14 жыл бұрын
@monospectr я тоже. Поржал с его "ДзяваСкрипт" =)))))
@utubenamingsucks
@utubenamingsucks 9 жыл бұрын
"to fetch the property out of optic" Who wrote the subtitle? bwah
@halladba101
@halladba101 5 ай бұрын
Back when Google used 'http'
@never_ask_my_name
@never_ask_my_name 2 жыл бұрын
So this is the one who brought all this chaos to the world !
@theurge14
@theurge14 12 жыл бұрын
Lars Bak vs Lars Ulrich in a fight, who wins?
@marios4275
@marios4275 Ай бұрын
@CepheiVV
@CepheiVV 16 жыл бұрын
great
@cyborgtroy
@cyborgtroy 16 жыл бұрын
oh, yeah, that was off-topic a bit, sorry.
@gabydewilde
@gabydewilde 16 жыл бұрын
Flash video doesn't work on Windows either if it makes you feel better. lol
@blakjakau
@blakjakau 16 жыл бұрын
@Me04120, there are a few 64bit browsers that can run flash, not sure what platform you're using, but I'm using firefox3, 64bit on my ubuntu 7.10 system at work, and my ubuntu 8.041 and 8.10 systems at home and running flash.
@mrrioify
@mrrioify 13 жыл бұрын
I think he means 'Object'
@MandeepSandhu
@MandeepSandhu 14 жыл бұрын
@DonutEatingLlama :) "Javascript optics..." :D I'm sure he Javascript "Objects"! :)
@ganstarsanimal2
@ganstarsanimal2 9 жыл бұрын
verry nice
@PaulAJohnston1963
@PaulAJohnston1963 14 жыл бұрын
I thought he was saying optic and thought oh it's some sort of object doh!
@cryptnotic
@cryptnotic 12 жыл бұрын
subtitles: "optic" => "object".
@Realcfx
@Realcfx 15 жыл бұрын
Of his pronoucing of "AArhus", yes he is danish.
@jerneje
@jerneje 16 жыл бұрын
lost me at "hidden class" :P
@mohdazeem6787
@mohdazeem6787 9 жыл бұрын
This is how they confuse people ur explanation is fake
@ayanesatomi4250
@ayanesatomi4250 7 жыл бұрын
Cool story bro, make a better explanation video then
@01010100001010101001
@01010100001010101001 13 жыл бұрын
Guy in shorts and white socks @3:54 spoiled presentation
@prempink12311
@prempink12311 2 ай бұрын
Why iam got recommended this video now
@gabydewilde
@gabydewilde 16 жыл бұрын
Want me to tell you what the video is about?
@ronf57
@ronf57 11 жыл бұрын
no offense but while this is an informative intro to hidden classes it was like a dictionary defining a word by using a more complex word. the idea of explaining javascript by showing CUSTOM assembler code is a bit wrong audience. and I get JNZ (jump not zero) and such I use to program machine code in hex not assembler. And this is the old Basic and C code using machine for speed (realtime functions) method. of course "function" and "method" mean different things in the OOP world of "objects".
@BradenBest
@BradenBest 12 жыл бұрын
I recreated the problem here: jsfiddle(.)net/WxHuL/ What I ended up having to do in the original file was make my own garbageCollection function that methodically builds a second array on the existing values and returns that instead, like this update: jsfiddle(.)net/WxHuL/1/ If arrays had garbage collection, a null value wouldn't be left in the array, and I wouldn't have to use that potentially performance-threatening function. System/Browser: Ubuntu QQ/Chromium.
@micgol
@micgol 12 жыл бұрын
Interesting. Do you have a code snippet to share? I can't reproduce it with simple for in iteration.
@ZerqTM
@ZerqTM 16 жыл бұрын
Cyborgtroy have a look at "Javascript the good parts" java script is not really ment to be a C syntax language is more closely related to scheam and lisp.. and it lacks block scope and there are a number of other features and bugs one needs to know about...
@minimang123
@minimang123 16 жыл бұрын
this seems like it's very susseptible to hackers and aggressive javascirpts... >.>
@Lycam
@Lycam 12 жыл бұрын
get behind me doctor! yaaaaatatatata
@sfilatovs
@sfilatovs 9 жыл бұрын
optic o_o
@M0stBlunt3d
@M0stBlunt3d 13 жыл бұрын
@01010100001010101001 the art of trolling
The story behind Google Chrome
4:50
Google
Рет қаралды 2 МЛН
Google I/O 2023: Introducing Pixel’s Newest Devices
32:31
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Google - Year in Search 2024
3:57
Google
Рет қаралды 344 МЛН
Google - Year in Search 2024 (Audio Described)
9:28
Google
Рет қаралды 19 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН