Re:YouTube-dl has an interpreter for a subset of JavaScript ...
by randyrand on Saturday September 10, 2022 @03:32PM
(#32793893)
Chrome and Safari both have open source JS engines…
[ Parent
| on HN ]
Re:YouTube-dl has an interpreter for a subset of JavaScript ...
by userbinator on Saturday September 10, 2022 @05:12PM
(#32794617)
That's beside the point. Open-source is not useful to the smaller players if it is too complex to comprehend and constantly churned.
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.
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.