All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Sound abstraction?

Definition 9.3 Low-Latency Software · Chapter 9 — Rust for Low Latency

An abstraction built on unsafe code is sound if no sequence of calls to its safe interface, however unusual, can cause undefined behaviour: the invariants the unsafe code relies on are established and maintained by the abstraction itself, not assumed of its callers.

Read in context →