Re:YouTube-dl has an interpreter for a subset of JavaScript ...
by kelnos on Saturday September 10, 2022 @08:15PM
(#32795665)
That's not the case, though. There are even python modules that let you evaluate JS code in v8 (Chrome's JS interpreter). It'd be pretty trivial for youtube-dl to make use of that if the author thought it was worth doing.
[ Parent
| on HN ]
Re:YouTube-dl has an interpreter for a subset of JavaScript ...
by sylware on Sunday September 11, 2022 @12:00PM
(#32800748)
It is the case, not too mention v8 pulls in an extremely expensive c++ compiler in the SDK while quickjs can compile with tinycc.
Open source is not enough anymore, "lean" open source is the way now, SDK included.