Functional or imperative? On pleasant semantics for differentiable programming languages

06/22/2022
by   Michael Innes, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/17/2021

Proceedings of the 2020 Scheme and Functional Programming Workshop

This report aggregates the papers presented at the twenty-first annual S...
research
02/26/2019

Induction, Coinduction, and Fixed Points in PL Type Theory

Recently we presented a concise survey of the formulation of the inducti...
research
07/22/2021

Fundamental Constructs in Programming Languages

Specifying the semantics of a programming language formally can have man...
research
08/27/2020

DAVE: Deriving Automatically Verilog from English

While specifications for digital systems are provided in natural languag...
research
07/13/2023

Typed Design Patterns for the Functional Era

This paper explores how design patterns could be revisited in the era of...
research
09/05/2018

Covariance and Controvariance: a fresh look at an old issue (a primer in advanced type systems for learning functional programmers)

Twenty years ago, in an article titled "Covariance and contravariance: c...
research
01/21/2018

NOOP: A Domain-Theoretic Model of Nominally-Typed OOP

The majority of industrial-strength object-oriented (OO) software is wri...

Please sign up or login with your details

Forgot password? Click here to reset