Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Quantitative Finance · Glossaire

Qu'est-ce que « Zero-cost abstraction » ?

Definition 9.1 Low-Latency Software · Chapitre 9 — Rust for Low Latency

A zero-cost abstraction compiles to the code a programmer would have written by hand without it: the abstraction’s convenience is resolved at compile time and leaves no run-time trace. The formulation comes from C++: “what you don’t use, you don’t pay for; and what you do use, you couldn’t hand code any better” (Stroustrup).

Lire dans le chapitre →