Thread overview
Linux Port?
Mar 02, 2003
Mongryong Lee
Mar 11, 2003
Russ Lewis
Mar 11, 2003
J.Aubourg
Mar 12, 2003
Russ Lewis
Mar 13, 2003
Walter
March 02, 2003
What's the status of the Linux port of D?  DLI's readme seems to indicate that it sucks and is not as good as the Windows version.

So, is 'D' reliable under Linux?

March 11, 2003
Mongryong Lee wrote:

> What's the status of the Linux port of D?  DLI's readme seems to indicate that it sucks and is not as good as the Windows version.
>
> So, is 'D' reliable under Linux?

I have been using it for a while.  It works pretty well, although it doesn't seem to link (I link with gcc instead).  Also, the GC isn't enabled.

Most of the time, it does well.  But it has a way of crashing on syntax errors, rather than handling them gracefully.  That's ok with me, since it is intended to just be a temporary D compiler until we can get a new compiler, written from scratch in D.  In other words, DLI is just the bootstrap compiler.

--
The Villagers are Online! http://villagersonline.com

.[ (the fox.(quick,brown)) jumped.over(the dog.lazy) ]
.[ (a version.of(English).(precise.more)) is(possible) ]
?[ you want.to(help(develop(it))) ]


March 11, 2003
I wonder why the original D compiler was not designed to output ansi C. This would have made porting to other platforms so much easier: a D compiler written in D would generate ansi C code that would be easy to compile nearly anywhere. Any idea why this approach was not used (even not for a simple bootstrap compiler)?

-- Julian
March 12, 2003
"J.Aubourg" wrote:

> I wonder why the original D compiler was not designed to output ansi C. This would have made porting to other platforms so much easier: a D compiler written in D would generate ansi C code that would be easy to compile nearly anywhere. Any idea why this approach was not used (even not for a simple bootstrap compiler)?
>
> -- Julian

Exceptions, primarily.  They are hard to implement in C.

--
The Villagers are Online! http://villagersonline.com

.[ (the fox.(quick,brown)) jumped.over(the dog.lazy) ]
.[ (a version.of(English).(precise.more)) is(possible) ]
?[ you want.to(help(develop(it))) ]


March 13, 2003
"Russ Lewis" <spamhole-2001-07-16@deming-os.org> wrote in message news:3E6EEA2A.29D607ED@deming-os.org...
> > I wonder why the original D compiler was not designed to output ansi C.
This
> > would have made porting to other platforms so much easier: a D compiler
written
> > in D would generate ansi C code that would be easy to compile nearly
anywhere.
> > Any idea why this approach was not used (even not for a simple bootstrap
> > compiler)?
> Exceptions, primarily.  They are hard to implement in C.

Inline assembler, too <g>. Also, the various thunks that get created.