Suggestion: Object filenames should be fully-qualified module names

Gregor Richards Richards at codu.org
Sat Jan 20 14:04:48 PST 2007


Kirk McDonald wrote:
> Bradley Smith wrote:
>> Have you seen issue 492 
>> (http://d.puremagic.com/issues/show_bug.cgi?id=492)?
>>
> 
> No, I hadn't. It's basically the same suggestion, only with using path 
> seperators instead of dots. This might have the advantage of not running 
> into any theoretical length limits on filenames. Still, being able to 
> (sanely) dump object files into a flat directory is also nice.
> 
> Either one of these would be good.
> 

Part of why I like my suggestion of using fully-qualified dot-names is 
how .a files work on UNIX. It's a directory-free archive. So you'll have 
foo.o and foo.o and foo.o :-P

Yes, it can work like this, but it makes extracting .a files a huge PITA.

  - Gregor Richards



More information about the Digitalmars-d mailing list