www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Differences between D2 and D1

reply Denton Cockburn <diboss hotmail.com> writes:
What are the major differences between D2 and D1?  Other than
const/invariant.

By D1 I refer to the current release of the D1 compiler (1.026 I think)
Feb 12 2008
parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Tue, 12 Feb 2008 19:43:33 -0500, Denton Cockburn wrote:

 What are the major differences between D2 and D1?  Other than
 const/invariant.
 
 By D1 I refer to the current release of the D1 compiler (1.026 I think)
http://www.digitalmars.com/d/2.0/features2.html
Feb 12 2008
parent reply Denton Cockburn <diboss hotmail.com> writes:
On Wed, 13 Feb 2008 00:57:44 +0000, Jesse Phillips wrote:

 On Tue, 12 Feb 2008 19:43:33 -0500, Denton Cockburn wrote:
 
 [quoted text muted]
http://www.digitalmars.com/d/2.0/features2.html
Just what I was looking for, thanks!
Feb 12 2008
parent reply novice2 <sorry noem.ail> writes:
 
 http://www.digitalmars.com/d/2.0/features2.html
what is line? "std.hiddenfunc: new module" link broken "The requested URL /d/2.0/phobos/std_hiddenfunc.html was not found on this server" and in D2 Phobos doc i can't find std.hiddenfunc :(
Feb 12 2008
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
novice2 wrote:
 http://www.digitalmars.com/d/2.0/features2.html
what is line? "std.hiddenfunc: new module" link broken "The requested URL /d/2.0/phobos/std_hiddenfunc.html was not found on this server" and in D2 Phobos doc i can't find std.hiddenfunc :(
It's in the source (dmd/src/phobos/std/hiddenfunc.d) if you look. But it doesn't appear to be a user-level module. It just contains one function that throws a HiddenFuncError exception. It's just intended to be called by the compiler. --bb
Feb 12 2008