Facundo Domínguez - Typecheck Your Memory Management with Linear Types

  Рет қаралды 58

The Haskell Foundation

The Haskell Foundation

Ай бұрын

This talk will explore the application of the upcoming GHC language extension LinearTypes to manage references to values in a foreign language.
Our case study will be inline-java, a library that enables embedding Java code in Haskell modules and integrates the JVM and Haskell runtimes. Managing references to objects in the Java heap has been error-prone, with the programmer responsible for timely deletion of these references. Deleting too soon leads to use-after-free errors, while deleting too late results in intermittent OutOfMemory errors from the JVM. Forgetting to delete some references causes the application's memory to grow steadily over time without an obvious cause.
We will demonstrate how linear types involve the compiler in verifying that a program disposes of references to foreign values in a timely manner, effectively eliminating the most common bugs related to this issue.

Пікірлер
Mateusz Curylo - Smash you some Haskell on a Minikube
35:44
The Haskell Foundation
Рет қаралды 33
Joachim Breitner -  Winter is Coming - Even Faster
32:45
The Haskell Foundation
Рет қаралды 80
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 14 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 19 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4,3 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 821 М.
Andrzej Rybczak - User Friendly Optics
33:52
The Haskell Foundation
Рет қаралды 49
GHC’s JavaScript Backend - Sylvain Henry - 2023 GHC Contributor's Workshop
1:42:50
The Haskell Foundation
Рет қаралды 1,1 М.
Rust Tutorial Full Course
2:35:11
Derek Banas
Рет қаралды 529 М.
Simon Peyton Jones - The Launch of the Haskell Foundation
57:11
The Haskell Foundation
Рет қаралды 68
GHC's Runtime System - Ben Gamari - 2023 GHC Contributor's Workshop
1:30:02
The Haskell Foundation
Рет қаралды 1,1 М.
Tim Williams - Generating Castles for Minecraft™ using Haskell
14:08
The Haskell Foundation
Рет қаралды 49
Solving distributed systems challenges in Rust
3:15:52
Jon Gjengset
Рет қаралды 220 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,3 МЛН
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 13 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 920 М.