HACKER Q&A
📣 fud101

Good uses cases for Fabrice's microquickjs


I downloaded it and compiled it and ran some toy programs. I have no idea how to use it for an actual project even though I have a stack of dusty rpi's and esp32s in the drawer.

Any one want to share their inspiration?


  👤 xeonmc Accepted Answer ✓
game engine scripting?

👤 llmslave2
Use it to program a drone that drops coal down chimneys. You have like 6 hours to get it working tonight.

👤 asim
Embedded JS micro app platform.

👤 znpy
If you have some software that’s somewhat rigid you could make it scriptable by linking microquickjs.

For example, lately i was looking into patching dnsmasq to handle events but found out that the dhcp-script flag most likely does what i need.

Otherwise i could patch dnsmasq to load microquickjs, evaluate some javascript functions and hook into events emitted by the dnsmasq regular lifecycle.

I might end up doing that anyway, since it looks like a fun thing to do.