mariusor 3 months ago

... which is not D any more though.

  • WhereIsTheTruth 3 months ago

    It's like saying "C is no longer C if you don't link with libc", it just is not true at all, and honestly, a pretty stupid thing to say

    • mariusor 3 months ago

      Instead of being an ass, maybe you can take the time to educate me why you think I'm wrong?

      I think that at least the garbage collection not being available qualifies my statement as somewhat being true. For game development, as it's closer to what grand-parent asked, classes not being usable would also be an issue...

  • monkeyelite 3 months ago

    What essential features are missing for you?

    • mariusor 3 months ago

      For game development? I imagine having to use only structs but not classes would be something that forces a "non idiomatic D" experience. Dynamic arrays sound like something that's very useful for a game. I don't know, there are plenty of features that are incompatible with better C that makes D, D. Generally speaking, garbage collection would be the biggest in my opinion.

      • WalterBright 3 months ago

        You can still use classes in BetterC - you just have to allocate them yourself. D recently acquired "placement new" which makes that more convenient.

        • [removed] 3 months ago
          [deleted]
      • monkeyelite 3 months ago

        Yeah this person is asking how to make the smallest executable. They don’t want garbage collection.