Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread mee6 via Digitalmars-d-announce
On Saturday, 4 June 2022 at 19:26:27 UTC, Walter Bright wrote: On 6/4/2022 5:29 AM, Paulo Pinto wrote: I guess going around the horn is a synonym for lets pretend there wasn't prior art and keep arguing D did it first, as usual. Writing a paper is not doing it first. Why do you care so

Visual D 1.3.0 released

2022-06-05 Thread Rainer Schuetze via Digitalmars-d-announce
Hi, happy to announce the release of Visaul D 1.3.0. The most important change is the update of semantic analysis for highlighting, browsing and code completion to the frontend of dmd 2.100.0. See the list of further changes and bug fixes at

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Paulo Pinto via Digitalmars-d-announce
On Sunday, 5 June 2022 at 04:42:44 UTC, claptrap wrote: On Saturday, 4 June 2022 at 12:29:59 UTC, Paulo Pinto wrote: On Saturday, 4 June 2022 at 07:40:36 UTC, Walter Bright wrote: On 5/29/2022 11:13 PM, Paulo Pinto wrote: Precompiled headers for C and C++ were certainly a module-like system

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Ali Çehreli via Digitalmars-d-announce
On 6/5/22 22:01, forkit wrote: > I have no doubt that many in the D community would also love to remove > the class abstraction from the langauge, completely, and then they could > force people into thinking 'the D way'. I must accept that "you have no doubt" but that claim is baseless. > I

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Paulo Pinto via Digitalmars-d-announce
On Sunday, 5 June 2022 at 22:41:14 UTC, Walter Bright wrote: On 6/4/2022 10:54 PM, Paulo Pinto wrote: That paper had a real implementation to follow along, I didn't see it. while Lucid and IBM products were real things one could buy. That are *C* compilers doing imports for *C* code?

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread forkit via Digitalmars-d-announce
On Monday, 6 June 2022 at 03:28:07 UTC, zjh wrote: On Monday, 6 June 2022 at 03:17:34 UTC, forkit wrote: Some new languages have even gone out of there way to get rid of the class type completely! At least D hasn't gone that far.. yet. I suspect there are many in the D community that would

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Walter Bright via Digitalmars-d-announce
On 6/4/2022 10:54 PM, Paulo Pinto wrote: That paper had a real implementation to follow along, I didn't see it. while Lucid and IBM products were real things one could buy. That are *C* compilers doing imports for *C* code? What C compilers have imports: gcc - nope clang - nope VC - nope

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Walter Bright via Digitalmars-d-announce
On 6/5/2022 7:26 AM, mee6 wrote: On Saturday, 4 June 2022 at 19:26:27 UTC, Walter Bright wrote: On 6/4/2022 5:29 AM, Paulo Pinto wrote: I guess going around the horn is a synonym for lets pretend there wasn't prior art and keep arguing D did it first, as usual. Writing a paper is not doing

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread zjh via Digitalmars-d-announce
On Monday, 6 June 2022 at 00:19:16 UTC, zjh wrote: Because it's fun to be first! Yes, `'d'` is always independent. [C++'s moudle](https://www.oschina.net/news/198583/c-plus-plus-23-to-introduce-module-support) `D`, hurry up and get nervous.

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread zjh via Digitalmars-d-announce
On Monday, 6 June 2022 at 03:17:34 UTC, forkit wrote: Some new languages have even gone out of there way to get rid of the class type completely! At least D hasn't gone that far.. yet. I suspect there are many in the D community that would welcome that ;-) I don't know many other

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread zjh via Digitalmars-d-announce
On Sunday, 5 June 2022 at 22:41:41 UTC, Walter Bright wrote: Because it's fun to be first! Yes, `'d'` is always independent. For example, `'d'` is the `first one` without `class encapsulation`.

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread forkit via Digitalmars-d-announce
On Monday, 6 June 2022 at 00:19:16 UTC, zjh wrote: On Sunday, 5 June 2022 at 22:41:41 UTC, Walter Bright wrote: Because it's fun to be first! Yes, `'d'` is always independent. For example, `'d'` is the `first one` without `class encapsulation`. To be fair, the encapsulation of a class can

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread zjh via Digitalmars-d-announce
On Monday, 6 June 2022 at 03:28:07 UTC, zjh wrote: `Rust` seems no class. These people are too radical. It is easy to `make mistakes` if you take big `changes`.