C source in Phobos

John Reimer terminal.node at gmail.com
Mon Jun 12 14:21:34 PDT 2006


Daniel Keep wrote:
> Hi.
> 
> I've been looking into rebuilding Phobos (mainly to try adding some
> things to the GC), and I noticed a few C files thrown around.
> 
> Is there any reason why these files could not be rewritten in D?  I
> imagine it would simplify rebuilding Phobos... I've already got three C
> compilers on my system; I really don't want to have to add *another*
> just to recompile one library :P
> 
> Being able to do "build phobos" would be awesome :)
> 
> 	-- Daniel
> 
> P.S.  Out of interest, has anyone else looked at adding weak references
> to D's GC?
> 


I've never really understood why some of those c files are there.  I've 
long wished for them to disappear.  It really degrades from the D 
library seeing the C source there.  I think Walter still harbors a 
sentimental attachment to the C heritage. :)


-JJR



More information about the Digitalmars-d mailing list