Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Unvanquished Begins Landing C++11 Engine Rewrite

  1. #21
    Join Date
    Sep 2012
    Posts
    311

    Default

    Migrating GCC to C++ as implementation language:

    C++ is a standardized, well known, popular language.
    C++ is nearly a superset of C90 used in GCC.
    The C subset of C++ is just as efficient as C.
    C++ supports cleaner code in several significant cases.
    C++ makes it easier to write and enforce cleaner interfaces.
    C++ never requires uglier code.
    C++ is not a panacea but it is an improvement.
    http://gcc.gnu.org/wiki/cxx-conversion

  2. #22
    Join Date
    Nov 2013
    Location
    127.0.0.1
    Posts
    112

    Default

    Quote Originally Posted by RMS
    C++ is a badly designed and ugly language. It would be a shame
    to use it in Emacs.

    The reason the GCC developers wanted to use it is for destructors
    and generics. These aren't much use in Emacs, which has GC and in
    which data types are handled at the Lisp level.
    https://lists.gnu.org/archive/html/e.../msg00518.html

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

    Default

    C++ is a badly designed language, but C++ avoids many pitfalls of C by being a bit stronger type, generics and STL, and given code styles it can lead to a bit verbose yet strict and nice code.

Posting Permissions

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