Type stability in Julia: avoiding performance pathologies in JIT compilation
Type stability in Julia: avoiding performance pathologies in JIT compilation
复制标题
Julia 中的类型稳定性:避免 JIT 编译中的性能问题
DOI:
10.1145/3485527
复制
发表时间:
2021
影响因子:
--
通讯作者:
Vitek, Jan
中科院分区:
文献类型:
--
作者:
Pelenitsyn, Artem;Belyakova, Julia;Chung, Benjamin;Tate, Ross;Vitek, Jan
As a scientific programming language, Julia strives for performance but also provides high-level productivity features. To avoid performance pathologies, Julia users are expected to adhere to a coding discipline that enables so-called type stability. Informally, a function is type stable if the type of the output depends only on the types of the inputs, not their values. This paper provides a formal definition of type stability as well as a stronger property of type groundedness, shows that groundedness enables compiler optimizations, and proves the compiler correct. We also perform a corpus analysis to uncover how these type-related properties manifest in practice.
登录
查看更多内容
影响因子:
--
作者:
Edd Barrett;Carl Friedrich Bolz-Tereick;Rebecca Killick;S. Mount;L. Tratt
通讯作者:
Edd Barrett;Carl Friedrich Bolz-Tereick;Rebecca Killick;S. Mount;L. Tratt
影响因子:
19
作者:
A. Gal;Brendan Eich;Mike Shaver;David Anderson;David Mandelin;M. Haghighat;Blake Kaplan;Graydon Hoare;B. Zbarsky;Jason Orendorff;J. Ruderman;Edwin W. Smith;Rick Reitmaier;Michael Bebenita;Mason Chang;M. Franz
通讯作者:
M. Franz
DOI:
10.1145/178243.178478
发表时间:
1994
期刊:
SocioEconomic Challenges
影响因子:
--
作者:
Urs Hölzle;D. Ungar
通讯作者:
D. Ungar
影响因子:
--
作者:
Aurèle Barrière;Sandrine Blazy;Aurèle Barrière;Sandrine Blazy;O. Flückiger;David Pichardie
通讯作者:
Aurèle Barrière;Sandrine Blazy;Aurèle Barrière;Sandrine Blazy;O. Flückiger;David Pichardie
DOI:
--
发表时间:
2007
期刊:
影响因子:
--
作者:
Mason Chang;Michael Bebenita;Alexander Yermolovich;A. Gal;M. Franz
通讯作者:
M. Franz