My dream for a language is a type system that can enforce runtime semantics, preferably at import.
import 'mod::memcmp': O(1);
where O(1) is big O notation. import 'mod::memcmp': O(1);
where O(1) is big O notation.I could see this being used to choose between allocators or schedulers given specific requirements.