Announcement

Collapse
No announcement yet.

Unvanquished Begins Landing C++11 Engine Rewrite

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unvanquished Begins Landing C++11 Engine Rewrite

    Phoronix: Unvanquished Begins Landing C++11 Engine Rewrite

    While the open-source Unvanquished game's Daemon Engine began as a fork of the ioquake3 engine, it's morphed into a radically different and more advanced creation. As noted recently, the Unvanquished developers are in the process of overhauling the engine and rewriting significant portions of the code. That code is now beginning to land...

    http://www.phoronix.com/vr.php?view=MTUyNzc

  • #2
    Any reason they didn't want to move to C99/C11?

    Comment


    • #3
      Originally posted by Marc Driftmeyer View Post
      Any reason they didn't want to move to C99/C11?
      I think is all related with their experience of C++. Otherwise they would use the best choice: Python, obviously.

      Comment


      • #4
        Originally posted by Marc Driftmeyer View Post
        Any reason they didn't want to move to C99/C11?
        C++ is a safer language, is backward compatible, oop is not an afterthought,
        performance is comparable if not the same, and critical portions can still be
        C and/or even asm. Also there are more people that have some kind of C++
        background. The last, but not least, number of LOC is going to be smaller.

        Comment


        • #5
          Originally posted by Marc Driftmeyer View Post
          Any reason they didn't want to move to C99/C11?
          I guess that's because of flaky compiler support, specially MSVC.


          Originally posted by clavko View Post
          C++ is a safer language, is backward compatible, oop is not an afterthought,
          performance is comparable if not the same, and critical portions can still be
          C and/or even asm. Also there are more people that have some kind of C++
          background. The last, but not least, number of LOC is going to be smaller.
          Problem with C++ is that it's very easy to write overcomplicated, obfuscated and hard to understand code if not careful. C version will be lengthier but easier to understand and debug by newbies.

          Comment


          • #6
            Originally posted by siavashserver View Post
            I guess that's because of flaky compiler support, specially MSVC.


            Problem with C++ is that it's very easy to write overcomplicated, obfuscated and hard to understand code if not careful. C version will be lengthier but easier to understand and debug by newbies.
            No, modern c++ is a lot easier language than c. Do you also think python is harder than c?

            Comment


            • #7
              Originally posted by Marc Driftmeyer View Post
              Any reason they didn't want to move to C99/C11?
              Because you can write C in C++, even just using C++ simply for templates is a step up.

              Comment


              • #8
                Originally posted by siavashserver View Post
                Problem with C++ is that it's very easy to write overcomplicated, obfuscated and hard to understand code if not careful. C version will be lengthier but easier to understand and debug by newbies.
                Not being careful is going to hurt substantially more with C than with C++,
                just when you start wrangling pointers and managing memory... scary. A good
                programming language will help you focus on your task, minimum boilerplate.
                C++ is not ideal, however it's a million miles voyage apart from C. Personally,
                I can't see how anyone could consider C code easier to understand, write or debug,
                provided he's had enough exposure to both to make an informed decision.

                Comment


                • #9
                  Originally posted by Marc Driftmeyer View Post
                  Any reason they didn't want to move to C99/C11?
                  for a small team C++11 is a better choice than C. it's more maintainable

                  Comment


                  • #10
                    C++, C, what's with all this high level crap? They should have used assembler.

                    Comment

                    Working...
                    X