计算机科学 > 程序设计语言
[提交于 2022年6月22日]
标题:Functional or imperative? On pleasant semantics for differentiable programming languages
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In machine learning (ML), researchers and engineers seem to be at odds. System implementers would prefer models to be declarative, with detailed type information and semantic restrictions that allow models to be optimised, rearranged and parallelised. Yet practitioners show an overwhelming preference for dynamic, imperative languages with mutable state, and much engineering effort is spent bridging the resulting semantic divide. Is there a fundamental conflict? This article explores why imperative and functional styles are used, and how future language designs might get the best of both worlds.
提交历史
来自:Michael Innes[v1] 2022年6月22日 星期三 16:22:34 UTC