Show simple item record

dc.contributor.authorIngle, Apoorv
dc.date.accessioned2020-03-24T20:44:58Z
dc.date.available2020-03-24T20:44:58Z
dc.date.issued2020-03-15
dc.identifier.urihttp://hdl.handle.net/1808/30163
dc.description.abstractManaging resources---file handles, database connections, etc.---is a hard problem. Debugging resource leaks and runtime errors due to resource mismanagement are difficult in evolving production code. Programming languages with static type systems are great tools to ensure erroneous code is detected at compile time. However, modern static type systems do little in the aspect of resource management as resources are treated as normal values. We propose a type system, Qub, based on the logic of bunched implications (BI) which models resources as first class citizens. We distinguish two kinds of program objects---restricted and unrestricted---and two kinds of functions---sharing and separating. Our approach guarantees resource correctness without compromising existing functional abstractions.en_US
dc.relation.isversionofhttps://arxiv.org/abs/1912.10135en_US
dc.rightsThis work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.en_US
dc.rights.urihttp://creativecommons.org/licenses/by-nc-sa/4.0/en_US
dc.subjectProgramming languages
dc.subjectType systems.
dc.subjectBunched implications
dc.subjectResources
dc.titleQub: A Resource Aware Functional Programming Languageen_US
dc.typeWorking Paperen_US
dc.identifier.orcidhttps://orcid.org/0000-0002-7399-9762en_US
dc.rights.accessrightsopenAccessen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Except where otherwise noted, this item's license is described as: This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.