LoCal: a language for programs operating on serialized data
LoCal: a language for programs operating on serialized data
复制标题
LoCal:一种用于操作序列化数据的程序的语言
DOI:
10.1145/3314221.3314631
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Newton, Ryan R.
中科院分区:
文献类型:
--
作者:
Vollmer, Michael;Koparkar, Chaitanya;Rainey, Mike;Sakka, Laith;Kulkarni, Milind;Newton, Ryan R.
In a typical data-processing program, the representation of datain memoryis distinct from its representation in aserializedform on disk. The former has pointers and arbitrary, sparse layout, facilitating easy manipulation by a program, while the latter is packed contiguously, facilitating easy I/O. We propose a language, LoCal, to unify in-memory and serialized formats. LoCal extends a region calculus into alocation calculus, employing a type system that tracks the byte-addressed layout of all heap values. We formalize LoCal and prove type safety, and show how LoCal programs can be inferred from unannotated source terms.We transform the existing Gibbon compiler to use LoCal as anintermediate language, with the goal of achieving a balance between code speed and data compactness by introducingjust enoughindirection into heap layouts, preserving the asymptotic complexity of traditional representations, but working with mostly or completely serialized data. We show that our approach yields significant performance improvement over prior approaches to operating on packed data, without abandoning idiomatic programming with recursive functions.
登录
查看更多内容
DOI:
--
发表时间:
2013
期刊:
2013 SC - International Conference for High Performance Computing, Networking, Storage and Analysis (SC)
影响因子:
--
作者:
Michael Goldfarb;Youngjoon Jo;Milind Kulkarni
通讯作者:
Milind Kulkarni
DOI:
--
发表时间:
2015
期刊:
ACM SIGPLAN International Conference on Functional Programming
影响因子:
--
作者:
Edward Z. Yang;Giovanni Campagna;Ömer S. Agacan;Ahmed El;Abhishek Kulkarni;Ryan Newton
通讯作者:
Ryan Newton
DOI:
--
发表时间:
2011
期刊:
影响因子:
--
作者:
Leo A. Meyerovich;Todd Mytkowicz;Wolfram Schulte
通讯作者:
Wolfram Schulte
DOI:
10.1145/2632215
发表时间:
2014-06
期刊:
ACM Trans. Archit. Code Optim.
影响因子:
--
作者:
Bin Ren;Todd Mytkowicz;G. Agrawal
通讯作者:
Bin Ren;Todd Mytkowicz;G. Agrawal
DOI:
--
发表时间:
2017
期刊:
Proc. ACM Program. Lang.
影响因子:
--
作者:
Thomas Williams;Didier Rémy
通讯作者:
Didier Rémy