计算机科学 > 程序设计语言
[提交于 2018年8月13日]
标题:Fast Flexible Function Dispatch in Julia
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Technical computing is a challenging application area for programming languages to address. This is evinced by the unusually large number of specialized languages in the area (e.g. MATLAB, R), and the complexity of common software stacks, often involving multiple languages and custom code generators. We believe this is ultimately due to key characteristics of the domain: highly complex operators, a need for extensive code specialization for performance, and a desire for permissive high-level programming styles allowing productive experimentation. The Julia language attempts to provide a more effective structure for this kind of programming by allowing programmers to express complex polymorphic behaviors using dynamic multiple dispatch over parametric types. The forms of extension and reuse permitted by this paradigm have proven valuable for technical computing. We report on how this approach has allowed domain experts to express useful abstractions while simultaneously providing a natural path to better performance for high-level technical code.
提交历史
来自:Jiahao Chen[v1] 2018年8月13日 星期一 00:00:00 UTC