沙龙预告 | 自托管依赖类型语言的设计与实现

本次分享将深入介绍Idris2,一个基于Quantitative Type Theory的新实现的依赖类型函数式编程语言。内容包括Idris和QTT的主要特性,编译器设计的挑战,以及如何利用依赖类型提高代码正确性的保证。主讲人Edwin Brady是Idris的开发者,他将讨论核心语言表示的权衡、关键组件如评估、统一和类型检查,并分享实现经验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文来自微信公众号: 编程语言Lab 技术沙龙预告
搜索关注 “编程语言Lab”公众号(HW-PLLab)获取更多技术内容!
添加小助手微信 pl_lab_001 进入编程语言交流群与同道中人碰撞思维火花

# 内容简介 #

Idris 是具有依赖类型的函数式编程语言。Idris2 是基于 Quantitative Type Theory (QTT) 的新实现 ,并在 Idris2 本身中实现。在本次分享中,我将介绍 Idris 和 QTT 的主要特性,并且分享我们是如何设计一个稳健且高效的依赖类型语言的编译器。而后,我们将讨论核心语言表示的权衡与取舍,如何使用依赖类型来提高实现准确性的置信度,并给出一个包括评估、统一和类型检查在内的几个关键组件的概述。

相关论文:

https://www.type-driven.org.uk/edwinb/papers/idris-qtt.pdf

# 主讲人介绍 #

Edwin Brady 是圣安德鲁斯大学计算机科学专业的准教授 (Reader),他对使软件开发人员和从业者能够使用最先进的编程语言技术感兴趣,包括类型理论、依赖类型的函数式编程、编译器和元编程。他目前正在研究 Idris 的新实现,一种具有依赖类型的函数式编程语言。

个人主页:

https://www.type-driven.org.uk/edwinb/

# 沙龙信息 #

  • 时间: 2023-03-22 19:00(北京时间)

# Abstract #

Idris is a functional programming language with dependent types. Idris 2 is a new implementation , based on Quantitative Type Theory (QTT) and implemented in Idris 2 itself. In this talk I will introduce the main features of Idris and QTT, and describe our experience with those features towards engineering a robust and efficient compiler for a dependently typed language. I will cover the trade-offs in the representation of the core language, how we use dependent types to increase our confidence in correctness of the implementation, and give an overview of the key components including evaluation, unification and type checking.

Related publication:

https://www.type-driven.org.uk/edwinb/papers/idris-qtt.pdf

# Speaker Bio #

Edwin Brady is a Reader in Computer Science at the University of St Andrews, interested in making state of the art programming language techniques accessible to software developers and practitioners. This involves type theory, dependently typed functional programming, compilers and metaprogramming. He is currently working on a new implementation of Idris, a dependently typed functional programming language.

Personal website:

https://www.type-driven.org.uk/edwinb/


编程语言社区 & 贝叶斯茶思屋@Edinburgh

贝叶斯茶思屋@Edinburgh 坐落于爱丁堡大学贝叶斯中心,围绕爱丁堡大学信息学院、工程学院、数学学院等,覆盖全英乃至全欧洲顶尖高校/科研院,积极融入高校学术生态,加强学术探索、研究合作、技术攻关与人才培养,持续提升华为研究创新能力,一杯咖啡吸收宇宙能量,一桶浆糊粘接世界智慧。

茶思屋官网:www.chaspark.net

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值