A small but complete JavaScript engine
bellard.org
A small but complete JavaScript engine
1–10 of 151 posts
Re: A small but complete JavaScript engine
#2Re: A small but complete JavaScript engine
#3Re: A small but complete JavaScript engine
#4Re: A small but complete JavaScript engine
#5Re: A small but complete JavaScript engine
#6Frabrice Bellard truly works in God mode. Ffmpeg, Qemu, Tiny C Compiler ... many others .. and now this!
Re: A small but complete JavaScript engine
#7Browser diversity is top of mind for me...
Re: A small but complete JavaScript engine
#8Frabrice Bellard truly works in God mode. Ffmpeg, Qemu, Tiny C Compiler ... many others .. and now this!
Agreed. 10 years ago, I could still pretend I'd be able to come close to his productivity if I "just set my mind to it." Today (being older, slower, and having a family), I can only be humble.
Re: A small but complete JavaScript engine
#9Frabrice Bellard truly works in God mode. Ffmpeg, Qemu, Tiny C Compiler ... many others .. and now this!
Re: A small but complete JavaScript engine
#10https://www.youtube.com/watch?v=aC_QLLilwso
The basic points: They watch functions for "hotness" (how often they are ran). Then, any function that is super hot, they'll see if it's being ran consistently (ie always receives two numbers as its arguments). Then they'll make a streamlined interpretation of the js code which only checks the arguments and then skips pretty much all the other checks. By doing this, it makes JS significantly faster.
If you're trying to compare and contrast v8 to quickjs, this is the first thing that comes to mind for me as to what they may be doing differently.