Re:Rust Dependencies Scare Me
by panstromek on Saturday May 10, 2025 @03:51AM
(#43943940)
Yes, even without Eval, there's a ton of reflective mechanisms in JS that are technically broken by dead code elimination (and other transforms, like minification), but most JS tools make some pretty reasonable assumptions that you don't use these features. For example, minifiers assume you don't rely on specific Function.name property being preserved. Bundlers assume you don't use eval to call dead code, too.
[ Parent
| on HN ]
There are no comments on this comment yet.