2002 · 407 citations · 29 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesAbstract Syntax TreesCompiler ConstructionControl-flow AnalysisData-flow AnalysisType CheckingType SystemsHeap ModelingLocal InferenceRegion-based Memory ManagementSeparate CompilationSeparate Compilation SupportStack AllocationSubtypingType Inference
Cyclone is a type-safe programming language derived from C. The primary design goal of Cyclone is to let programmers control data representation and memory management without sacrificing type-safety. In this paper, we focus on the region-based memory management of Cyclone and its static typing discipline. The design incorporates several advancements, including support for region subtyping and a coherent integration with stack allocation and a garbage collector. To support separate compilation, Cyclone requires programmers to write some explicit region annotations, but a combination of default annotations, local type inference, and a novel treatment of region effects reduces this burden. As a result, we integrate C idioms in a region-based framework. In our experience, porting legacy C to Cyclone has required altering about 8% of the code; of the changes, only 6% (of the 8%) were region annotations.
29
Trevor Jim, J. Greg Morrisett, Dan Grossman et al. · 2002 · 618 citations
Region-Based Memory Management
Mads Tofte, Jean-Pierre Talpin · Information and Computation · 1997 · 617 citations
Automatically Validating Temporal Safety Properties of Interfaces
2001 · 605 citations
Dependent types in practical programming
Hongwei Xi, Frank Pfenning · 1999 · 584 citations · Full text