THE VIDEO SHELF · linear types
Simon Peyton Jones - Linear Haskell: practical linearity in a higher-order polymorphic language
Simon Peyton Jones presents linear types for Haskell, showing how practical linearity can fit into a higher-order polymorphic language. The talk covers motivations such as resource handling and relates the ideas to Rust.
Why HN readers recommended it
HN recommends it as a clear introduction to linear types in GHC from the language's lead designer.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- Curry On!
- Topic
- linear types
- Format
- talk
- Level
- advanced
- HN recommenders in dataset
- 3
- HN mentions in dataset
- 6
- Recommendation years in dataset
- 2018–2020
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
Something to keep in mind - linear types are on their way[1], with exactly this usecase in mind. Simon Peyton Jones gave an excellent presentation on the topic[2], briefly discussing exceptions, as well as giving a mention to ResourceT and the phantom type solution in …
T-R on Hacker News · 2018-10
In Rust RAII is better than the Haskell bracket patternSession Types, AFAIU are a specific implementation of a linear logic in some type system and I am not all too familiar with them in practice. However, I would like to think I am well versed in Linear Logic and Substructural Type Theory. I think …
throwaway17_17 on Hacker News · 2020-03
In Programming Models for Distributed ComputationSPJ usually makes great introductions about new things being introduced to GHC. Here's one about linear types: [VIDEO] > How do people that don't have PhDs bridge the gap in their knowledge from what's commonly taught/used (OOP and it's design patterns) to thinking in terms …
pyrale on Hacker News · 2020-09
In Haskell GHC 9.0.1-alpha
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.