logoalt Hacker News

simonaskyesterday at 9:46 PM1 replyview on HN

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.


Replies

tubsyesterday at 9:59 PM

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