http://2017.jsconf.eu/speakers/franziska-hinkelmann-javascript-engines-how-do-they-even.html
Want to know how JavaScript engines work? Why is JavaScript so fast? What is just-in-time compilation? We’ll look at basic concepts of compilers, challenges posed by modern JavaScript, and how to write compiler-friendly JavaScript.
Original source
28 responses to “Franziska Hinkelmann: JavaScript engines – how do they even? | JSConf EU 2017”
Amazing presentation. It explained everything really well and even taught me a few tricks.
17:16 "Plus 17"? Isn't that hexadecimal for 23?
loved it…
this course should one of the mandatory courses that a developer should follow to make the code work in very efficient way and give best performance and hardware management .
Thanks a lot😄 this was a great video.
Intro was a variation of Zelda fountian/file select music.
Awesome explanation.
Simple but useful presentation
Very nice … interesting …. I code while I listen …. nice
Awesome Presentation !!! This definitely Demystified some of the Inner workings of V8 for me. Kudos !
Very nice video. At 22:15, isn't the "let" keyword part of ES6 and not ES5?
Sehr interessant, Dankeschön!
Would you agree that the statement "From a compiler's perspective, the best thing we can do is to write code that looks like it is statically typed", can be used as an argument in favour of TypeScript, which as I understand it naturally encourages us to write code that looks like it is statically typed. Hence, does writing our code using TypeScript make it more likely that the resulting JavaScript code can be optimised in a way that increases performance?
Using that argument, can it therefore be inferred that "using TypeScript makes our apps faster"?
I love listening to smart people.
– thanks!!
No wonder they names it V8, they made it in germany.
The intro jingle is cool!
the first flag and the third flag does not work with chrome
If websites provided v8 bytecode instead of js to skip parsing, how much quicker would it be?
is the intro supposed to sound like the zelda theme?
I always likes experimenting with JS. And, this was pretty much informational for me.
@Franziska Hinkelmann has blog about this. Check it for more info:
https://medium.com/dailyjs/understanding-v8s-bytecode-317d46c94775
Excellent talk. Thank you!
Thanks much Franziska. Would love to see more of such stuff. Help us work better with the JavaScript engine
Why doesn't –print-opt-code work for me?
C++ has 'auto' which works similar to 'var' in Js. But, exactly as in Js, you cannot ignore the type. Even assignment does different things, depending on the type of the variable. In Js, primitives will be copied but objects will be a copy of reference, which then refers to the same object.
I'd love to study this in more depth. Anyone can recommend some book?
Great talk.
Started out a bit slow, but then this talk became very interesting indeed, and this will help us write better, faster code. Awesome!
will it help if you create constructors for obj insead of a literals? like function p(x,y){ this.x=x; this.y=y; } new p(1,2) then pass it to load(obj)?
Thanks for the presentation. I'm in a bit over my head, but I was able to follow along. I am uncertain about one point, though.
Given two objects {x:"a string", y:5} and {x:"another string", y:7}, would they be of the same type, despite differing string lengths? Is the string value of obj.x stored by reference so that the location of obj.y is always the same, relative to the object?