Issue 2026-10-12 · Voices
Guillermo Rauch @rauchg
We can do better than Rust [引用 @cramforce]: Part of the quest to make TS with scriptc faster than rust. These are valid TS types and have no semantics in JS, but when compiling with scriptc it will not compile if the function buddy may, indeed, throw. scriptc is already computing this anyway to emit more optimal code, so this is a zero-cost check. You (your clanker) would use this if you want to ensure that code can be compiled optimall…
Read original ↗Topics:Guillermo Rauch