Re:Curl doesn't add libproxy due to its quality issues
by vokspon on Sunday October 23, 2022 @12:00PM
(#33307924)
True but curl wouldn't need to implement a particularly optimised JavaScript runtime to handle PAC programs, there would be no point in e.g. bundling V8 or ChakraCore with it.
[ Parent
| on HN ]
Re:Curl doesn't add libproxy due to its quality issues
by mmis1000 on Sunday October 23, 2022 @03:39PM
(#33309597)
I think quickjs is invented for exact this type of usage. A properly implemented, speed-irrelevant, small runtime for embedded usage.
Most pac files are just a few lines and you don't really need a speedy runtime to run it.