On Monday, 15 July 2019 at 19:20:27 UTC, Johannes Pfau wrote:
I wonder how you can advertise this as a good idea: You have to manually keep declarations in sync, you have to be very careful to get the attributes right, module constructor evaluation order guarantees don't hold, no mangling (no type safety), you pollute the C namespace, no inlining, no templates.

This is an established workaround at best, in no way it's a good solution.

Was there an agreement that arbitrary amount of code imported in object.d doesn't impact compilation speed or such impact is unimportant?
              • Re... Mike Franklin via Digitalmars-d-announce
              • Re... Vladimir Panteleev via Digitalmars-d-announce
              • Re... Mike Franklin via Digitalmars-d-announce
              • Re... Seb via Digitalmars-d-announce
              • Re... Johannes Pfau via Digitalmars-d-announce
              • Re... David Nadlinger via Digitalmars-d-announce
              • Re... Johannes Pfau via Digitalmars-d-announce
              • Re... David Nadlinger via Digitalmars-d-announce
              • Re... Johannes Pfau via Digitalmars-d-announce
              • Re... Johannes Pfau via Digitalmars-d-announce
              • Re... Kagamin via Digitalmars-d-announce
              • Re... David Nadlinger via Digitalmars-d-announce
              • Re... David Nadlinger via Digitalmars-d-announce
              • Re... Vladimir Panteleev via Digitalmars-d-announce
              • Re... Johannes Pfau via Digitalmars-d-announce
              • Re... David Nadlinger via Digitalmars-d-announce
              • Re... Johannes Pfau via Digitalmars-d-announce
              • Re... David Nadlinger via Digitalmars-d-announce
        • Re: Release D 2... Jonathan M Davis via Digitalmars-d-announce
        • Re: Release D 2... Vladimir Panteleev via Digitalmars-d-announce
  • Re: Release D 2.087.0 Mike Parker via Digitalmars-d-announce

Reply via email to