Fabrice Bellard Releases MicroQuickJS
571–580 of 594 posts
Re: Fabrice Bellard Releases MicroQuickJS
#572Clarification 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 dis…
Re: Fabrice Bellard Releases MicroQuickJS
#573Clarification 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…
Curious if you have a specific use case for sandboxed JS that you would share?
One example: given this database table run this JavaScript function against every value in this column to calculate a value to be stored in another column.
Or once a day fetch the JSON from this URL and transform it with this JavaScript and store it here.
Re: Fabrice Bellard Releases MicroQuickJS
#574Earlier quoted context omitted.
Which scheme implementation? Guile?
For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ?
https://www.gnu.org/software/guile/manual/html_node/while-do...
Re: Fabrice Bellard Releases MicroQuickJS
#575Earlier quoted context omitted.
He is extremely productive in its specialty: the intersection of programming language and system programming. I don't think that makes him superhuman. It's more a model of what a really talented person who applies themselves building things they enjoy building can do. I prefer thinking of it this way: if Bellard can make a small JS engine from scratch by himself, what's really stoping you from knocking down this libr…
> He is extremely productive in its specialty: the intersection of programming language and system programming. Why do you say that specifically is his specialty? He also started QEMU and ffmpeg which are foundational pieces of software for several industries, and his day job is as founder of a company that makes software defined radio test equipment for cellular networks. There isn't one thing I could point at as a…
Ffmpeg uses a ton of arcane C and assembly knowledge to make multimedia system manageable and efficient. QEMU uses dynamic binary translation for hardware emulation and virtualization. Amarisoft speciality is basically using software to do things which are usually done by hardware.
The intersection of programming language and system programming seems to me like a pretty fair description of what Fabrice Bellard is extremely good at.
Re: Fabrice Bellard Releases MicroQuickJS
#576Re: Fabrice Bellard Releases MicroQuickJS
#577Earlier quoted context omitted.
Which scheme implementation? Guile?
For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ?
I was asking which scheme if the 20-50 of them was "lightweight" and embeddable.
Re: Fabrice Bellard Releases MicroQuickJS
#578Re: Fabrice Bellard Releases MicroQuickJS
#579Earlier quoted context omitted.
For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ?
For a purely functional language. Scheme is not that. https://www.gnu.org/software/guile/manual/html_node/while-do...
Re: Fabrice Bellard Releases MicroQuickJS
#580Earlier quoted context omitted.
For a purely functional language. Scheme is not that. https://www.gnu.org/software/guile/manual/html_node/while-do...
And you are wrong because you can define a loop as iterating recursively over a list with just car and cdr.