Semantics & Type Systems
程序语义与类型系统
Formal semantics, memory models and type systems that define what programs mean and which errors are ruled out.
3 open problems
Most important
Out-of-thin-air problem
Is there a relaxed memory model for languages such as C, C++ and Java that forbids out-of-thin-air results, permits standard compiler optimizations, maps efficiently onto x86, ARM and POWER hardware, and supports compositional reasoning?
Why it matters. Without such a model, the semantics of concurrent programs in major languages remain formally undefined, which undermines both verification and compiler correctness.
Priority 2
Efficient sound gradual typing
Can a sound gradual type system for a full language keep runtime overhead below a small constant factor (for example 2x) for every mix of typed and untyped modules, compared with slowdowns of an order of magnitude or more seen in existing sound implementations?
Why it matters. Gradual typing promises safe migration from dynamic to static types, but its performance cost has led widely used languages to give up soundness.
Priority 3
An aliasing model for unsafe Rust
Can a precise, executable aliasing model for Rust's unsafe code be defined that accepts the unsafe code idioms used in practice, justifies the optimizations the compiler wants to perform, and is adopted as the language's official specification?
Why it matters. Rust's safety guarantees depend on unsafe code obeying rules that are not yet fully defined, which affects correctness of systems software being rewritten in Rust.
Problem lists are drafts awaiting expert review. The taxonomy is our own and is not affiliated with any journal or publisher. Read our approach.