【24h】

Shifting the stage

机译:转移舞台

获取原文
获取原文并翻译 | 示例

摘要

It is often hard to write programs that are efficient yet reusable. For example, an efficient implementation of Gaussian elimination should be specialized to the structure and known static properties of the input matrix. The most profitable optimizations, such as choosing the best pivoting or memoization, cannot be expected of even an advanced compiler because they are specific to the domain, but expressing these optimizations directly makes for ungainly source code. Instead, a promising and popular way to reconcile efficiency with reusability is for a domain expert to write code generators.
机译:通常很难编写高效但可重用的程序。例如,高斯消除的有效实现应专门针对输入矩阵的结构和已知静态属性。即使是高级编译器,也无法期望获得最有利可图的优化,例如选择最佳的透视或备忘录,因为它们是特定于该领域的,但是直接表达这些优化会导致源代码的浪费。取而代之的是,将效率与可重用性相协调的一种有前途且流行的方法是领域专家编写代码生成器。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号