Accéder directement au contenu Accéder directement à la navigation
Communication dans un congrès

Efficient Deconstruction with Typed Pointer Reversal (abstract)

Abstract : The resource-management model of C++ and Rust relies on compiler-generated destructors called predictably and reliably. In current implementations, the generated destructor consumes stack space proportionally to the depth of the structure it destructs. We describe a way to derive destructors for algebraic data types that consume a constant amount of stack and heap. We discuss applicability to C++ and Rust, and also some implication for anyone wishing to extend an ML-style language with first-class resources.
Type de document :
Communication dans un congrès
Liste complète des métadonnées

Littérature citée [21 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-02177326
Contributeur : Guillaume Munch-Maccagnoni <>
Soumis le : mardi 9 juillet 2019 - 19:38:41
Dernière modification le : mercredi 24 juin 2020 - 16:19:53

Fichier

efficient-drops-mlworkshop.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-02177326, version 2

Citation

Guillaume Munch-Maccagnoni, Rémi Douence. Efficient Deconstruction with Typed Pointer Reversal (abstract). ML 2019 - Workshop, KC Sivaramakrishnan, Aug 2019, Berlin, Germany. pp.1-8. ⟨hal-02177326v2⟩

Partager

Métriques

Consultations de la notice

1577

Téléchargements de fichiers

1320