Live data from Hacker News

QuickJS JavaScript Engine

bellard.org

111–120 of 279 posts

Re: QuickJS JavaScript Engine

#111
post #51

Earlier quoted context omitted.

How could we easily expose syscalls to `qjs`? Deno is just a Rust IPC/syscall layer glued to V8 really...

Some Node APIs could probably be implemented using the std and os modules[1], but others (e.g. networking) would probably need to be implemented via the C API[2]. [1]: https://bellard.org/quickjs/quickjs.html#Standard-library [2]: https://bellard.org/quickjs/quickjs.html#QuickJS-C-API

Perhaps libuv-webserver[1] could be used for that purpose?

[1]: https://github.com/springmeyer/libuv-webserver

Re: QuickJS JavaScript Engine

#114

Earlier quoted context omitted.

From a cursory glance, it doesn't look like it's a bunch of files concatenated together.

It's C so it's harder to tell than other languages, since it doesn't have separate namespaces for everything. You can just write a bunch of functions and global variables in separate files and then act like they're all in the same file, and there's really no difference.

You could, but I'm not seeing any code duplication across files so that would mean that he's not included the files that make up the "mega file", which would be rather strange.

Re: QuickJS JavaScript Engine

#116
post #99
post #97

Earlier quoted context omitted.

Can't speak to 1, but I kind of feel like TJ Holowaychuk in the Node.js community started getting close to Fabrice's level (until he left Node). Express, Stylus, Koa, Formidable, etc...

TJ has created a large number of popular software packages, but I don't consider the depth of the software to be close in complexity of the type of software that Fabrice is capable of - basically anything he puts his mind to. bellard.org - has the most impressive portfolio of software created from a single developer I've ever seen. It's more astonishing how varied each of his accomplishments are - covering some of th…

Donald Knuth is certainly in the same league.

Re: QuickJS JavaScript Engine

#117
post #108

Earlier quoted context omitted.

What's to like about it? First thing I wanted to do is look at the sources, which is now a multiple-step process - especially since I'm on windows and usually work on a Mac. Not to mention mobile.

Both can decompress tarballs. No idea if mobile ever crossed their mind.

Windows can't extract tarballs unless you install the linux subsystem or install 7-zip or similar.

Macos can decompress them natively without installation.

> No idea if mobile ever crossed their mind.

If it was released on github/gitlab/gitea/etc they wouldn't need to.

It's not a big deal but it does add an extra step.

Re: QuickJS JavaScript Engine

#118
post #69

Note that Bellard already wrote a (small) HTML/CSS engine for his Emacs clone. So we're only a small step away from Bellard-Browser.

Wait, QEmacs was written by Bellard, too? I stumbled across it a while ago but I didn't pay attention to the author.

Damn.

Re: QuickJS JavaScript Engine

#119
post #99

Earlier quoted context omitted.

TJ has created a large number of popular software packages, but I don't consider the depth of the software to be close in complexity of the type of software that Fabrice is capable of - basically anything he puts his mind to. bellard.org - has the most impressive portfolio of software created from a single developer I've ever seen. It's more astonishing how varied each of his accomplishments are - covering some of th…

Donald Knuth is certainly in the same league.

No doubt a brilliant academic and mathematical mind with invaluable contributions to field of comp-sci and algorithms and author of the iconic TAOCP, but in terms of software works he's single-handedly produced? He's most famous for TeX typesetting system and inventing Literate programming, but his other software have had a lot less impact.

But that's mostly by choice as he's predominantly a professor who spends most of his time teaching so he's obviously going to have created a lot less body of digital works than a full-time developer is going to have.

Re: QuickJS JavaScript Engine

#120

  Undefined symbols for architecture i386
I get this error when attempting to make on macOS.

I don't have very much experience with C, but is there a good resource to learn how to better deal with compiler issues and such other than googling specific issues?

Post reply on HN