Mixin C

Walter Bright newshound2 at digitalmars.com
Fri Mar 29 07:49:23 UTC 2024


On 3/7/2024 7:23 PM, Paul Backus wrote:
> Mixin C would solve two big issues with the current ImportC approach: the poor 
> preprocessor support,

I don't see how it would improve preprocessor support. C macros used in D code 
won't fare any better than they do now.

> and the conflicts between `.c` and `.d` files in the compiler's import paths.

Frankly, I never understood why that was an issue. Change the name of one of 
them, or put them in different paths.

I appreciate the effort you've put into this. But I have to be blunt. I've seen 
this before. Here's what it looks like in practice:

https://elsmar.com/elsmarqualityforum/media/redneck-car-air-conditioning.1560/


D is a beautiful language to program in. Let's keep it that way!

https://www.joemacari.com/stock/ferrari-daytona-spyder/10004904



More information about the dip.ideas mailing list