3 ms·
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 Chak
by vokspon 4y ago
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.
- mmis1000 4y agoI 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.