Is C# better than C++ for videogame development?

Is C# better than C++ for videogame development?

CRIME Shirt $21.68

DMT Has Friends For Me Shirt $21.68

CRIME Shirt $21.68

  1. 2 months ago
    Anonymous

    >considering Microshaft Java
    Just use plain java at that point, it's even got a dump truck's worth of libs for it

    • 2 months ago
      Anonymous

      You get C# supporter out of the box in godot and unity. What does java?

    • 2 months ago
      Anonymous

      >java
      Are you recommending fricking Java for game development? Ropemax.

      • 2 months ago
        Anonymous

        >Ropemax
        That's for people with a whole Bevy of problems.

    • 2 months ago
      Anonymous

      From a scripting POV? Yes, definitely
      From a game engine POV? It's definitely possible (Stride Engine), but you still need C++ for some low level stuff, afaik
      C# is much, much easier to learn and offers more then enough performance. Sure, C++ is even faster, but at the cost of being more error prone and difficult.

      >thinks Java is better then C#
      Never was, maybe in .net framework days, please do not speak about topics you know nothing about

      It's a shame Minecraft was written in such an awful language (for performance at least). Microsoft's C++ version still isn't as good and has no mod support. Also he said top 500 not just a single one, please give me more incredibly well known Java games.

      OptiFine, Sodium and many other optimization mods prove, that Mojang is just shit at optimizing code, not to mention that Minecraft doesn't use multithreading much

  2. 2 months ago
    Anonymous

    [...]

    modern gpus can handle 2D mario shit on C#.

    • 2 months ago
      Anonymous

      In the context of using it with Unity, it's basically just a scripting language, and it's fine.

      like this anon said, c# is fine if you are making 2d pixelshit with XNA (like stardew valley or terraria), but I wouldn't trust it with much more than that.

  3. 2 months ago
    Anonymous

    I mean, one of the biggest engines basically makes you use it, so sure? It's 2024 anyhow. If you're just pulling a game engine off the shelf, all the "hard" stuff is done for you.

  4. 2 months ago
    Anonymous

    Easier development? Yes
    Better performance? No
    Good games made using it? Many but it depends on your taste
    The problem here is unity game engine pricing and licensing, godot is a meme

  5. 2 months ago
    Anonymous

    Nope, probably a bit easier to develop as some other anons have said, usually C++ has better performance but that obviously depends on the game. There's plenty of C# indie games so if you really want to use it it's probably fine. In my experience C++ isn't that much harder than C# so personally I would go with C++ but you do you.

  6. 2 months ago
    Anonymous

    The empirical proof is looking at the top 500 selling games. Usually like half of them are made in Unity. I still don’t like Unity especially since its closed source. C# is decent, but it kind of kills me using it since I’m a programmer by trade. One of the reasons Beat Saber is so easily moddable is because of C#. It basically let’s you inspect interfaces and types at run time really easily.

    • 2 months ago
      Anonymous

      >The empirical proof is looking at the top 500 selling games
      #1 bestselling game: Minecraft
      Language written in: Java

      Java best programming language for gaming confirmed

      • 2 months ago
        Anonymous

        It's a shame Minecraft was written in such an awful language (for performance at least). Microsoft's C++ version still isn't as good and has no mod support. Also he said top 500 not just a single one, please give me more incredibly well known Java games.

        • 2 months ago
          Anonymous

          >It's a shame Minecraft was written in such an awful language (for performance at least)
          >He thinks it's the fault of java not the fault of shit programming
          It's a shame you suck KEEK

          • 2 months ago
            Anonymous

            Having to run a game inside of the JVM certainly didn't help.

  7. 2 months ago
    Anonymous

    With C++ you actually have to think about where your objects live. In C# everything is just on the heap and the runtime is in charge of it, but in C++ you decide if objects are owned by a factory, by various classes, or just by whoever has a shared_ptr to them (like a poor man's garbage collector). But you shouldn't do the last one because then you should just use C#. But if you have to interact with a ton of native platform code with a C interface, using C++ badly might be easier than writing a ton of P/Invoke code and defining weird structs in C#

    • 2 months ago
      Anonymous

      C# has plenty of tools these days (aside from aside from P/Invoke) to handle allocations in a performance centric way (such as Span<T>, pools, structs have their own cool stuff and of course there's unsafe for pointer stuff)

      There's an emulator that runs switch games written 95% in C#, so anyone talking about performance issues for 3D games ITT is empirically wrong.
      It's mostly a matter of efforts you're willing to put into it.

      >It's mostly a matter of efforts you're willing to put into it.
      pretty much this. It certainly has the tools available for fast code

  8. 2 months ago
    Anonymous

    [...]

    >hello world in C# takes up like 42 TB of RAM
    If that were true there would be no C# programs, which is demonstrably false.

  9. 2 months ago
    Anonymous

    There's an emulator that runs switch games written 95% in C#, so anyone talking about performance issues for 3D games ITT is empirically wrong.
    It's mostly a matter of efforts you're willing to put into it.

  10. 2 months ago
    Anonymous

    >Is C# better than C++ for videogame development?
    You mean Unity or Unreal? If you're making your own engine, C++

  11. 2 months ago
    Anonymous

    I use Beef. It's basically C# with manual memory management.
    https://www.beeflang.org/

    • 2 months ago
      Anonymous

      >webhosts hate this one weird trick to save spending on advertising
      just buy an ad you homosexual, although no one is going to use your shit jeetlang

  12. 2 months ago
    Anonymous

    homie just use Unreal blueprints tf

  13. 2 months ago
    Anonymous

    What a cute cat
    I hope he lives a long, happy life with his family. I wish I had a pet

  14. 2 months ago
    Anonymous

    go back to agdg cris

Your email address will not be published. Required fields are marked *