Logo image
Static techniques for reducing memory usage in the C implementation of whiley programs
Conference paper   Open access   Peer reviewed

Static techniques for reducing memory usage in the C implementation of whiley programs

Min-Hsien Weng, Bernhard Pfahringer and Mark Utting
Proceedings of the Australasian Computer Science Week Multiconference, 15
Australasian Computer Science Week Multiconference (Geelong, Australia, 31-Jan-2017–03-Feb-2017)
Association for Computer Machinery
2017
pdf
PDF - Author Accepted Version282.40 kBDownloadView
Accepted VersionPDF - Author Accepted Version Open Access
url
https://doi.org/10.1145/3014812.3014827View
Published Version

Abstract

memory usage whiley programs static analysis copy elimination compiler
Languages that use call-by-value semantics, such as Whiley, can make program verification easier. But efficient implementation becomes harder, due to the overhead of copying and garbage collection. This paper describes how a mixture of static analysis and runtime-monitoring can be used to eliminate unnecessary copying and deallocate memory without garbage collection. We show that this allows Whiley programs to be translated into efficient C implementation.

Details

Metrics

65 File views/ downloads
611 Record Views
Logo image