logoalt Hacker News

embedding-shapeyesterday at 5:18 PM3 repliesview on HN

> I suspect this change in Python will dramatically improve the performance of such large programs as well.

Makes packaging super fun too, where you need to hit every possible path so you don't miss anything imported in 1% of the execution paths :)


Replies

KptMarchewayesterday at 6:31 PM

I can't even express how negatively I feel about build/packaging systems that process dependencies based on code-level imports instead of some explicit build manifest separate to the code.

show 2 replies
dragonwriteryesterday at 7:01 PM

Or, you could just use a project-level specification file to list dependencies rather than looking for imports in the code, trying to figure out what they resolve to, and trying to package the results.

snovv_crashyesterday at 5:55 PM

Can't you do some kind of static analysis instead?

show 2 replies