Due to potential new direction of D, I’m looking for some escape route just in case. I’m primarily a gamedev, so no functional programming languages like Rust or Haskell. Also one of the features I dislike the most in C/C++ is the super slow and super obsolete precompiler with its header files, so no zig, I don’t want to open two files for editing the same class/struct. Memory safety is nice to have, but not a requirement, at worst case scenario I’ll just create struct SafeArray<Type>. Also I need optional OOP features instead of reinventing OOP with all kinds of hacks many do when I would need it.

Yes I know about OpenD, and could be a candidate for such things, just looking into alternatives.

  • 31337@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    2 months ago

    C# is actually pretty nice. Ecosystem, not so much, but D doesn’t really have one anyways :)

    • ZILtoid1991@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      2 months ago

      It’s too high level for my usecase, so unless I either use a preexisting game engine, or develop mine using a system language, so C# is only good as a scripting language in my usecase, and sometimes you want “hard-code” new features, not script them.

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        C# is only good as a scripting language in my usecase, and sometimes you want “hard-code” new features, not script them.

        My recent experience with C# suggests you might have a much better time with it, than you think.

        C#'s compile phases are nuanced and achieve surprisingly quick results, now.

        If it’s been awhile since you used C#, you could be happily surprised.