Cmajor 0.5.0

"Seppo Laakko" <seppo.laakko@pp.inet.fi>
Wed, 13 Mar 2013 01:28:06 +0200

          From comp.compilers

Related articles
Cmajor 0.5.0 seppo.laakko@pp.inet.fi (Seppo Laakko) (2013-03-13)
| List of all articles for this month |
From: "Seppo Laakko" <seppo.laakko@pp.inet.fi>
Newsgroups: comp.compilers
Date: Wed, 13 Mar 2013 01:28:06 +0200
Organization: Compilers Central
Keywords: available
Posted-Date: 12 Mar 2013 23:17:58 EDT

New programming language Cmajor version 0.5.0 has been released:


http://sourceforge.net/projects/cmajor/


Cmajor 0.5.0 has 'concepts' that are applied throughout the Cmajor
System Library. They are much simpler and coarse-grained than C++0x
concepts (the concept design that was planned to the C++11 standard
but got rejected).


The advantages of the Cmajor concepts are:


(1) Template instantiation failures produce more descriptive
error messages than what would be possible without concepts.


(2) Concept-constrained templates are separately type checked using
so called archetype classes that are built from concepts.
Type checking of unconstrained templates is deferred until instantiation
time as always.


(3) Concepts can be used in function overloading to select the most
efficient implementation of an algorithm at compile time.


Regards,
Seppo Laakko


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.