logoalt Hacker News

joshuaharttoday at 8:50 AM1 replyview on HN

Interesting approach. What was the main motivation for targeting C specifically instead of something like LLVM or WASM as an intermediate?


Replies

nulltracetoday at 9:49 AM

Biggest reason is usually the toolchain. Debuggers, sanitizers, profilers all just work when your target is C. Go through LLVM and you get similar optimization but now you own the backend. With C, gcc and clang handle that part.