Live data from Hacker News

QuickJS JavaScript Engine

bellard.org

1–10 of 279 posts

Re: QuickJS JavaScript Engine

#2
From the documentation [2], compilation of js to c looks very interesting. If variable types are well known/defined (like Uint8Array, ..), this effectively presents a way to derive performant binaries from js

For those who don't know, the author is one of the most prolific programmers/creators of our time. Please check his bio [1]

[1]: https://en.wikipedia.org/wiki/Fabrice_Bellard

[2]: https://bellard.org/quickjs/quickjs.html#qjsc-compiler-1

Re: QuickJS JavaScript Engine

#3
post #2

From the documentation [2], compilation of js to c looks very interesting. If variable types are well known/defined (like Uint8Array, ..), this effectively presents a way to derive performant binaries from js For those who don't know, the author is one of the most prolific programmers/creators of our time. Please check his bio [1] [1]: https://en.wikipedia.org/wiki/Fabrice_Bellard [2]: https://bellard.org/quickjs/qui…

Non-mobile URL: https://en.wikipedia.org/wiki/Fabrice_Bellard

Re: QuickJS JavaScript Engine

#4
post #2

From the documentation [2], compilation of js to c looks very interesting. If variable types are well known/defined (like Uint8Array, ..), this effectively presents a way to derive performant binaries from js For those who don't know, the author is one of the most prolific programmers/creators of our time. Please check his bio [1] [1]: https://en.wikipedia.org/wiki/Fabrice_Bellard [2]: https://bellard.org/quickjs/qui…

The fact of its author and its extremely recent release date give this library significantly more credibility than any other similar "embedded JS" library. It may possibly be the best one available to date.

Re: QuickJS JavaScript Engine

#7
post #5

Very impressive!

This is fast enough, it could be used to write command line utilities in Javascript! What about a Javascript OS in the style of the Lisp machines or early Smalltalks?

Record-query [1] embeds v8 for its query language, which seems to add a significant amount of heft. I know that couchdb uses js for querying as well. It seems like this could be another option for something like that.

[1] https://github.com/dflemstr/rq

Post reply on HN