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.

  • hector@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I see your point though. It feels like people giving advice on Rust used it 3minutes. It really depends on how trait are structured and often times they are horribly difficult.

    It’s because of the borrow checker complaining. It’s especially hard with Async stuff.

    Rust is good, it’s not perfect for everyone. I wouldn’t recommend for gamedev. You might like C# with native modules in Godot, you can extend it pretty much how you want.

    Less C++ stuff, more fun!

    But yeah that’s a problem, if you want a system programming language it’s hard to get away from C/C++ lol.