4 days agoShareSave
更多详细新闻请浏览新京报网 www.bjnews.com.cn
,详情可参考heLLoword翻译官方下载
Куда поехать на отдых осенью 2025 года?Больше 10 направлений для отпуска в России и за рубежом22 августа 2025
Signed-off-by: Christophe de Dinechin
Abstract:Package managers are legion. Every programming language and operating system has its own solution, each with subtly different semantics for dependency resolution. This fragmentation prevents multilingual projects from expressing precise dependencies across language ecosystems; it leaves external system and hardware dependencies implicit and unversioned; it obscures security vulnerabilities that lie in the full dependency graph. We present the \textit{Package Calculus}, a formalism for dependency resolution that unifies the core semantics of diverse package managers. Through a series of formal reductions, we show how this core is expressive enough to model the diversity that real-world package managers employ in their dependency expression languages. By using the Package Calculus as the intermediate representation of dependencies, we enable translation between distinct package managers and resolution across ecosystems.