Skip to main content

2 posts tagged with "performance"

View All Tags

MATLAB No Longer Has a Place in the Modern World

High Performance C++
Editorial

High-performance numerical kernels are defined by the algebraic laws they exploit and by the architectural parameters they expose. Associativity of addition, distributivity of multiplication over addition, cache-line geometry, SIMD vector width, TLB reach, and the precise cost of data motion through the memory hierarchy jointly determine both attainable accuracy and attainable throughput.

Any language or environment that conceals those parameters prevents the programmer from stating the algorithm that is actually executed and from attaching a verifiable a-priori error bound to the computed result.

Checking the Cost of an Abstraction

High Performance C++
Editorial

The phrase "zero-overhead abstraction" is used as though it described a property that C++ abstractions possess. It describes a property that particular abstractions possess under particular conditions, and the conditions are checkable. Treating the phrase as a guarantee is how libraries acquire abstractions that cost twenty percent and nobody notices.