HackerPapers

arXiv:2206.11192cs.PL

Functional or imperative? On pleasant semantics for differentiable programming languages

Michael Innes

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
Journal reference
DOI
Subjects
cs.PLProgramming Languages

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jul 2022 to Jul 2022. Found in 1 HN submission from Jul 2022 to Jul 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • https://ar5iv.labs.arxiv.org/html/2206.11192 The code listings are not formatted all that well by latex2html, but at least the prose is easier to read Generally, lots of academic writing is done in LaTeX because it’s nice for managing references. The incentive to develop and use…

      rsfernView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.