On Thursday, 11 November 2021 at 02:03:22 UTC, Steven Schveighoffer wrote:
>I don't think ImportC is that much of a game changer (you can already make C bindings with quite a small effort, and there are tools to get you 90% there), but a broken/not working ImportC will be a huge drawback to the language, so it's important to get it right.
The advantage I though of when I suggested something similar many years ago was that it would enable inlining of C functions, but since then LLVM has gotten whole program optimization over the IR, so now the advantage is more limited.
Maybe there are some metaprogramming advantages, but I cannot think of any.