Comeau C/C++ Explained

Latest Release Version:4.3.3
Latest Preview Version:4.3.10.1 beta2
Programming Language:C/C++
Operating System:Microsoft Windows, Linux, Mac OS X, Solaris
Genre:Compiler
License:proprietary

Comeau C/C++ is a compiler for C and C++ produced by Comeau Computing. Comeau C/C++ was once described as the most standards-conformant C++ compiler.[1] In 2006-2008 it was described as the only mainstream C++ compiler to fully support the [[export (C++)|export]] keyword for exported templates.[2] [3]

Design

The compiler supports several dialects of both the C and C++ languages. It comes with its own version of the Standard C++ library, libcomo, that is based upon the Standard C++ library from Silicon Graphics, but can also be used with the Dinkumware Standard C library.

The compiler is based upon the Edison Design Group C++ frontend, also utilized in the Intel C++ Compiler. Rather than produce an executable directly, Comeau C/C++ outputs C code and requires a separate C compiler in order to produce the final program. The Comeau C/C++ can employ several back ends.[4]

Standards compliance

Comeau Computing is a founding member of the C++ committee. Comeau Computing's CEO, Greg Comeau, provided one of the early ports of cfront to the PC.[5] [6]

Distribution

A limited-function version of the compiler, which allows one to compile source code and view any resulting error messages, but not to produce executable programs, is available from the company's web site.

The compiler is available for both Unix and Microsoft Windows platforms. Comeau also offers custom ports to other platforms, albeit that this is substantially more expensive than buying existent versions of the compiler.

Status

The compiler was updated October 6, 2008 featuring version 4.3.10.1 Beta 2.

As of September 2017, version 4.3.10.1 remains in Beta. The company website appears to have been sold to an unrelated blogger.

Notes and References

  1. Book: C++ Cookbook. D. Ryan Stephens . Christopher Diggins . Jonathan Turkanis . Jeff Cogswell . 8. O'Reilly. 2006. 978-0-596-00761-4.
  2. Book: C++ Design Patterns and Derivatives Pricing. Mark S. Joshi. 263. Cambridge University Press. 2008. 978-0-521-72162-2.
  3. Web site: 35: How does the C++ keyword export help with template linker errors?. C++ FAQ Lite. Marshall Cline. 2006. 2007-11-29. https://web.archive.org/web/20081216050853/http://www.parashift.com/c++-faq-lite/templates.html#faq-35.14. 2008-12-16. dead.
  4. Book: C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond. David Abrahams and Aleksey Gurtovoy. 155. Addison-Wesley. 2005. 978-0-321-22725-6.
  5. Book: C. Corso completo di programmazione. Harvey M. Deitel . Paul J. Deitel . Italian. 537. translator I. Scagnetto. Apogeo Editore. 2007. 978-88-503-2633-4.
  6. Book: C++ Gems. Stanley B. Lippman. x. Cambridge University Press. 1997. 978-0-13-570581-0.