Comment by simonask

Comment by simonask 19 hours ago

1 reply

That might be convenient if your language has semantics that map well-ish to C99 semantics. But C is a really messy language with lots of little quirks. For example, Rust code would compile to something slower if it had to use C as an intermediate representation.

Also, compiled languages want accurate and rich debug info. All of that information would be lost.

tubs 19 hours ago

You can track debug symbol through c. It’s just one of many layers debug info gets tracked through.