Live data from Hacker News

A small but complete JavaScript engine

bellard.org

1–10 of 151 posts

Re: A small but complete JavaScript engine

#4
QuickJS is quite a pleasure to work with, for variety of reasons. Not using setjmp/longjmp and having a nice internal resource leak debugging mechanisms are just a few of them. I've already replaced most of my duktape uses with QuickJS, and I'm quite happy with the result.

Re: A small but complete JavaScript engine

#6

Frabrice 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

#8
post #6

Frabrice 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.

I’m really starting to feel the age and competing priorities with family. Makes me really scared about ageism.

Re: A small but complete JavaScript engine

#9

Frabrice Bellard truly works in God mode. Ffmpeg, Qemu, Tiny C Compiler ... many others .. and now this!

He really has done so much incredible work. I'd love a Fabrice Bellard interview/podcast/tech talk but found none when searching. If anyone has a link, please post it!

Re: A small but complete JavaScript engine

#10
Here's a really interesting video about speed performance of the v8 engine:

https://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.

Post reply on HN