Re: How to exclude function from being imported in D language?

2022-03-09 Thread Ali Çehreli via Digitalmars-d-learn
On 3/9/22 05:24, oculussaw wrote: > I think D Language needs and lacks conditional compilation condition That statement is misleading in isolation without qualifications because D has powerful conditional compilation features. Ali

Re: gdc or ldc for faster programs?

2022-03-09 Thread Iain Buclaw via Digitalmars-d-learn
On Monday, 31 January 2022 at 10:33:49 UTC, Siarhei Siamashka wrote: I wonder if GDC can do the same? GDC as a front-end doesn't dictate what the optimization passes are doing, nor does it have any real control what each level means. It is only ensured that semantic doesn't break because of

Re: How to exclude function from being imported in D language?

2022-03-09 Thread oculussaw via Digitalmars-d-learn
I think D Language needs and lacks conditional compilation condition

Re: How to exclude function from being imported in D language?

2022-03-09 Thread Anonymouse via Digitalmars-d-learn
On Tuesday, 8 March 2022 at 22:28:27 UTC, bauss wrote: On Tuesday, 8 March 2022 at 20:12:40 UTC, BoQsc wrote: I think D Language needs and lacks conditional compilation condition and attribute of "exclude". The exclude keyword or code block in the exclude, would be made sure to not be

Re: How to exclude function from being imported in D language?

2022-03-09 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 March 2022 at 22:28:27 UTC, bauss wrote: On Tuesday, 8 March 2022 at 20:12:40 UTC, BoQsc wrote: I think D Language needs and lacks conditional compilation condition and attribute of "exclude". The exclude keyword or code block in the exclude, would be made sure to not be