Re: project oriented

2009-05-19 Thread Walter Bright

davidl wrote:
The module package system still stays in the state of the C age. It's 
file oriented. I think there's no more sound package system than C# one. 
The namespace and distributed packaging is a must nowadays and the 
compiler should be project oriented and take project information as the 
compiling base. Also an IDE is quite useful for providing project 
templates.


The file system is a wonderful hierarchical database, that fits in 
neatly with package/module organization of D projects. I don't see a 
compelling advantage to try to layer another database on top of it.


Re: project oriented

2009-05-15 Thread bearophile
BCS:
> The c# solution works well if you will *only* develop from the IDE but is 
> a total pain as soon as you need to work with non-language aware tools.

I think Microsoft thinks that an IDE is a part of a modern language. So they 
have tried to design a language that almost needs an IDE. Fortress language 
looks to need an IDE even more. There are languages (most Smalltalk, and some 
Forth and some Logo) that are merged with their development environment.

Bye,
bearophile


Re: project oriented

2009-05-14 Thread Graham St Jack
On Tue, 12 May 2009 21:12:51 +, BCS wrote:

> Hello davidl,
> 
>> The module package system still stays in the state of the C age. It's
>> file  oriented. I think there's no more sound package system than C#
>> one. The  namespace and distributed packaging is a must nowadays and
>> the compiler  should be project oriented and take project information
>> as the compiling  base. Also an IDE is quite useful for providing
>> project templates.
>> 
>> 
> The up side to file based packaging is that the compiler can find the
> files without needing extra information. There are several tools that
> can build a project from nothing but a set of .d files. With the c# type
> of system, the compiler/build system needs to have a metadata file that
> list all the .d files to be built adding yet another piece of redundant
> complexity.
> 
> The c# solution works well if you will *only* develop from the IDE but
> is a total pain as soon as you need to work with non-language aware
> tools.

Good point. I like the current system's simplicity, and changing it as 
suggested would add a lot of hassle.


Re: project oriented

2009-05-12 Thread BCS

Hello davidl,


The module package system still stays in the state of the C age. It's
file  oriented. I think there's no more sound package system than C#
one. The  namespace and distributed packaging is a must nowadays and
the compiler  should be project oriented and take project information
as the compiling  base. Also an IDE is quite useful for providing
project templates.



The up side to file based packaging is that the compiler can find the files 
without needing extra information. There are several tools that can build 
a project from nothing but a set of .d files. With the c# type of system, 
the compiler/build system needs to have a metadata file that list all the 
.d files to be built adding yet another piece of redundant complexity.


The c# solution works well if you will *only* develop from the IDE but is 
a total pain as soon as you need to work with non-language aware tools.






Re: project oriented

2009-05-12 Thread Christopher Wright

davidl wrote:
The module package system still stays in the state of the C age. It's 
file oriented. I think there's no more sound package system than C# one. 
The namespace and distributed packaging is a must nowadays and the 
compiler should be project oriented and take project information as the 
compiling base. Also an IDE is quite useful for providing project 
templates.


That would most likely be a good thing. Things you could get from it:
- easier to make package protection meaningful and useful (like C# internal)
- internal classes can be enumerated at compile time (maybe eventually)
- faster partial compilation
- potential of virtual templates for internal classes (I can dream)

Probably some others that I can't think of right now.


project oriented

2009-05-12 Thread davidl
The module package system still stays in the state of the C age. It's file  
oriented. I think there's no more sound package system than C# one. The  
namespace and distributed packaging is a must nowadays and the compiler  
should be project oriented and take project information as the compiling  
base. Also an IDE is quite useful for providing project templates.


--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/