Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Unvanquished Begins Landing C++11 Engine Rewrite

  1. #1
    Join Date
    Jan 2007
    Posts
    14,631

    Default 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. #2
    Join Date
    Oct 2012
    Location
    Washington State
    Posts
    441

    Default

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

  3. #3
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Posts
    398

    Default

    Quote 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.

  4. #4
    Join Date
    Apr 2008
    Location
    Zagreb, Croatia
    Posts
    102

    Default

    Quote 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.

  5. #5
    Join Date
    Oct 2013
    Posts
    195

    Default

    Quote 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.


    Quote 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.

  6. #6
    Join Date
    Jul 2011
    Posts
    364

    Default

    Quote 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?

  7. #7
    Join Date
    Feb 2013
    Posts
    307

    Default

    Quote 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.

  8. #8
    Join Date
    Apr 2008
    Location
    Zagreb, Croatia
    Posts
    102

    Default

    Quote 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.

  9. #9
    Join Date
    Aug 2013
    Posts
    46

    Default

    Quote 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

  10. #10
    Join Date
    Jan 2013
    Posts
    1,447

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •