Live data from Hacker News

Fabrice Bellard Releases MicroQuickJS

github.com

61–70 of 594 posts

Re: Fabrice Bellard Releases MicroQuickJS

#61

This engine restricts JS in all of the ways I wished I could restrict the language back when I was working on JSC. You can’t restrict JS that way on the web because of compatibility. But I totally buy that restricting it this way for embedded systems will result in something that sparks joy

He already has a JS engine which doesn’t make these restrictions

Re: Fabrice Bellard Releases MicroQuickJS

#62
post #5

I wish for this new year we reboot the Web with a super light standard and accompanying ecosystem with - A small and efficient JS subset, HTML, CSS - A family of very simple browsers that do just that - A new Web that adheres to the above That would make my year.

This would never happen because there's zero incentive to do this. Browsers are complex because they solve a complex problem: running arbitrary applications in a secure manner across a wide range of platforms. So any "simple" browser you can come up with just won't work in the real world (yes, that means being compatible with websites that normal people use).

Zero incentive seems a little strong,

Re: Fabrice Bellard Releases MicroQuickJS

#63

It's unfortunate that he uploaded this without notable commit history, it would be interesting to see how long it takes a programmer of his caliber to bring up a project like this. That said, judging by the license file this was based on QuickJS anyway, making it a moot comparison.

Maybe he just oneshotted it

Maybe claude code uses bellard as agent

Re: Fabrice Bellard Releases MicroQuickJS

#64

Fabrice Bellard is widely considered one of the most productive and versatile programmers alive: - FFmpeg: https://bellard.org - QEMU: https://bellard.org/qemu/ - JSLinux: https://bellard.org/jslinux/ - TCC: https://bellard.org/tcc/ - QuickJS: https://bellard.org/quickjs/ Legendary.

He's also built a closed-source LLM inference engine, which he's been maintaining since the GPT-2 days: https://bellard.org/ts_server/ and https://textsynth.com/

Re: Fabrice Bellard Releases MicroQuickJS

#65

Fabrice Bellard is widely considered one of the most productive and versatile programmers alive: - FFmpeg: https://bellard.org - QEMU: https://bellard.org/qemu/ - JSLinux: https://bellard.org/jslinux/ - TCC: https://bellard.org/tcc/ - QuickJS: https://bellard.org/quickjs/ Legendary.

The first two links are broken.

The ffmpeg link was changed apparently, but the QEmu link still works he just redirects to the QEmu homepage.

Re: Fabrice Bellard Releases MicroQuickJS

#66
post #5

I wish for this new year we reboot the Web with a super light standard and accompanying ecosystem with - A small and efficient JS subset, HTML, CSS - A family of very simple browsers that do just that - A new Web that adheres to the above That would make my year.

Years ago I wrote a tiny xhtml-basic browser for a job. It was great. Some of my best work. But then the iPhone came out and xhtml-basic died practically overnight.

Re: Fabrice Bellard Releases MicroQuickJS

#67
post #17

Clarification added later : One of my key interests at the moment is finding ways to run untrusted code from users (or generated by LLMs) in a robust sandbox from a Python application. MicroQuickJS looked like a very strong contender on that front, so I fired up Claude Code to try that out and build some prototypes. I had Claude Code for web figure out how to run this in a bunch of different ways this morning - I hav…

Down to -4. Is this generic LLM-dislike, or a reaction to perceived over-self-promotion, or something else?

No matter how much you hate LLM stuff I think it's useful to know that there's a working proof of concept of this library compiled to WASM and working as a Python library.

I didn't plan to share this on HN but then MicroQuickJS showed up on the homepage so I figured people might find it useful.

(If I hadn't disclosed I'd used Claude for this I imagine I wouldn't have had any down-votes here.)

Re: Fabrice Bellard Releases MicroQuickJS

#68

Earlier quoted context omitted.

Maybe he just oneshotted it

Maybe claude code uses bellard as agent

Claude is really Bellard sitting in his kitchen, sipping coffee, casually replying to code requests while getting ready for his day.

Re: Fabrice Bellard Releases MicroQuickJS

#69
post #4

If there were a software engineering hall of fame, I nominate Fabrice.

There is! ACM grants several awards for scientists and more. One such award is the Turing Award [1], given "for contributions of lasting and major technical importance to computer science." [1] https://en.wikipedia.org/wiki/Turing_Award

The Turing Award is given for breakthroughs in computer science, not for "most productive programmer of all time", and it wouldn't be appropriate for Ballard.

Re: Fabrice Bellard Releases MicroQuickJS

#70
post #5

I wish for this new year we reboot the Web with a super light standard and accompanying ecosystem with - A small and efficient JS subset, HTML, CSS - A family of very simple browsers that do just that - A new Web that adheres to the above That would make my year.

I mean, you can do all that now, so that's not the problem. The problem would be convincing millions of people to switch, when 99.99999% of them couldn't care less.

My idea is to use Markdown over HTTP(S). It's relatively easy to implement Markdown renderer, compared to HTML renderer. It's possible to browse that kind of website with HTML browser with very simple wrapper either on client or server side, so it's backwards compatible. It's rich enough for a lot of websites with actually useful content.

Now I know that Markdown generally can include HTML tags, so probably it should be somewhat restricted.

It could allow to implement second web in a compatible way with simple browsers.

Post reply on HN