Unique Pointers: Performance, Burden, and Inference
نویسنده
چکیده
Cyclone is an actively developed, type-safe, C-like programming language. Historically, language designers have either leaned toward safety or toward explicit memory management. Cyclone aims to provide the safety of a language like Java, while providing the control over data representation and memory management of low-level languages like C. Cyclone features a garbage-collected heap. However, garbage collection is undesirable in some applications – the canonical example being the embedded space. To abate concerns with garbage collection, Cyclone has featured region-based memory management for well over a year. Until now, Cyclone regions were fairly coarse grained. Developed by Dr. Michael Hicks of the University of Maryland, unique pointers are a new Cyclone construct. Unique pointers strive to regain the fine granularity of C’s malloc and free without violating safety. This paper details experiences with porting Cyclone programs to use unique pointers. Based on those experiences, this paper outlines a static, constraint-based analysis to help in the porting process. Additionally, this paper presents benchmarks comparing the performance of Cyclone programs before and after “uniquifying”.
منابع مشابه
Points-to Analysis by Type Inference of Programs with Structures and Unions
We present an interprocedural ow-insensitive points-to analysis algorithm based on monomorphic type inference. The source language model the important features of C including pointers, pointer arithmetic, pointers to functions, structured objects, and unions. The algorithm is based on a non-standard type system where types represent nodes and edges in a storage shape graph. This work is an exte...
متن کاملNusselt Number Estimation along a Wavy Wall in an Inclined Lid-driven Cavity using Adaptive Neuro-Fuzzy Inference System (ANFIS)
In this study, an adaptive neuro-fuzzy inference system (ANFIS) was developed to determine the Nusselt number (Nu) along a wavy wall in a lid-driven cavity under mixed convection regime. Firstly, the main data set of input/output vectors for training, checking and testing of the ANFIS was prepared based on the numerical results of the lattice Boltzmann method (LBM). Then, the ANFIS was develope...
متن کاملInference on Lifetime Performance Index of Two-Parameter Exponential Distribution: Censored and Record Dat
This article has no abstract.
متن کاملBalanced Scorecard with Fuzzy Inference as a Performance Measurement in an Automotive Manufacturing line
In recent years, the balanced score card (BSC) has been the focus of considerable methodology for strategic cost management in management accounting area since it was originally proposed by Kaplan ,R.S. and Norton, D.P. in 1992. BSC is an approach to performance measurement based on both financial and nonfinancial information from four perspectives which are called financial, customer, inter...
متن کاملPrediction of Thermal performance nanofluid Al2O3 by Artificial Neural Network and Adaptive Neuro-Fuzzy Inference Systemt
In recent years, the use of modeling methods that directly utilize empirical data is increasing due to the high accuracy in predicting the results of the process, rather than statistical methods. In this paper, the ability of Artificial Neural Network (ANN) and Adaptive Fuzzy-Neural Inference System (ANFIS) models in the prediction of the thermal performance of Al2O3 nanofluid that is measured ...
متن کامل