They play better with statically typed languages, not compiled ones in particular. Rust's typing is stricter than Typescript though so that probably helps.