| Thread overview | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 17, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Christopher Wright Wrote:
> It would be nice Walter could add a couple people who just manage bugfixes, then put the dmd frontend on dsource.
I think what we really need is an entirely separate front-end (GDC and LLVMDC use DMD's) that would do everything DMD's existing front-end does (lexical, parsing & semantic analysis, optimization, CTFE interpreting, template expansion, Ddoc generation, etc.). Hopefully, it would be clearer (DMD's code is fairly complex...) and ideally it would be written in D, with a simple C or C++ interface for linking to backends. IMO, it should use the visitor pattern, so it could be passed a C++ class that would do the code generation, using D2's C++ interface. This would be easy(ish) to integrate with backends that use DMD's existing frontend so LLVMDC, GDC and DMD could all use it. It could also then be integrated into IDEs, static analysis/refactoring tools, code formatters, whatever, that could make visitors that do things post-semantic pass.
But all the time I have to spend on D coding, I'd rather spend on Descent.
(Sorry for the web interface; I' not at home right now).
| ||||
February 17, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Robert Fraser | Robert Fraser wrote: > Christopher Wright Wrote: >> It would be nice Walter could add a couple people who just manage bugfixes, then put the dmd frontend on dsource. > > I think what we really need is an entirely separate front-end (GDC and LLVMDC use DMD's) that would do everything DMD's existing front-end does (lexical, parsing & semantic analysis, optimization, CTFE interpreting, template expansion, Ddoc generation, etc.). Hopefully, it would be clearer (DMD's code is fairly complex...) and ideally it would be written in D, with a simple C or C++ interface for linking to backends. IMO, it should use the visitor pattern, so it could be passed a C++ class that would do the code generation, using D2's C++ interface. This would be easy(ish) to integrate with backends that use DMD's existing frontend so LLVMDC, GDC and DMD could all use it. It could also then be integrated into IDEs, static analysis/refactoring tools, code formatters, whatever, that could make visitors that do things post-semantic pass. > > But all the time I have to spend on D coding, I'd rather spend on Descent. > > (Sorry for the web interface; I' not at home right now). Dil? http://code.google.com/p/dil/ -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango | |||
February 17, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | Lars Ivar Igesund Wrote:
> Dil?
>
> http://code.google.com/p/dil/
I did not know about that; yes, that looks like the perfect sort of thing.
| |||
February 18, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | Lars Ivar Igesund Wrote: Dil DIL Hmm in English Dill is a stupid person as well as a herb DLL is windows Dynamically Linked Library It all seems a little close don't you think ? | |||
February 18, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Ty Tower | Ty Tower wrote:
> Lars Ivar Igesund Wrote:
> Dil DIL Hmm in English Dill is a stupid person as well as a herb
>
> DLL is windows Dynamically Linked Library
>
> It all seems a little close don't you think ?
>
dil is not dill (notice the extra "L" you've added at the end?)
dil is a Turkish work for "language" so it represents the intention of
the project (a D language compiler).
Do you always assume that everything you read online is in English?
that wouldn't be a smart assumption as most of the world has a different
native language than English.
would you also assume [for example] that "Ubuntu" is some kind of
English word/slang?
-- Yigal
| |||
February 18, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Yigal Chripun | "Yigal Chripun" <yigal100@gmail.com> wrote in message news:fpbjmj$199t$1@digitalmars.com... > Ty Tower wrote: >> Lars Ivar Igesund Wrote: >> Dil DIL Hmm in English Dill is a stupid person as well as a herb >> >> DLL is windows Dynamically Linked Library >> >> It all seems a little close don't you think ? >> > > dil is not dill (notice the extra "L" you've added at the end?) > dil is a Turkish work for "language" so it represents the intention of > the project (a D language compiler). > Do you always assume that everything you read online is in English? > that wouldn't be a smart assumption as most of the world has a different > native language than English. > would you also assume [for example] that "Ubuntu" is some kind of > English word/slang? I think what he's getting at is that while it might be a fine name in _Turkish_, in _English_ it sounds a bit funny. Kind of like how the "Wii" gets made fun of because it's a word kids use to talk about going to the bathroom. I've never heard of a "dill" being a stupid person, though. Maybe that's a British thing. I kind of like dill, it sounds fresh and herby ;) | |||
February 18, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley | Jarrett Billingsley pisze:
> I've never heard of a "dill" being a stupid person, though. Maybe that's a British thing. I kind of like dill, it sounds fresh and herby ;)
He probably meant 'dull'.
BR
Marcin Kuszczak
(aarti_pl)
| |||
February 18, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Aarti_pl | On Mon, 18 Feb 2008 14:39:49 +0100, Aarti_pl wrote: > Jarrett Billingsley pisze: >> I've never heard of a "dill" being a stupid person, though. Maybe that's a British thing. I kind of like dill, it sounds fresh and herby ;) > > He probably meant 'dull'. > > BR > Marcin Kuszczak > (aarti_pl) No, "dill" is an English (and thus Australian) term for a person that is a little bit silly or thoughtless. It is not very degatory or offensive, even a bit playful maybe. -- Derek Parnell Melbourne, Australia skype: derek.j.parnell | |||
February 20, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Yigal Chripun | On Mon, 18 Feb 2008 09:38:29 -0000, Yigal Chripun <yigal100@gmail.com> wrote:
> Ty Tower wrote:
>> Lars Ivar Igesund Wrote:
>> Dil DIL Hmm in English Dill is a stupid person as well as a herb
>>
>> DLL is windows Dynamically Linked Library
>>
>> It all seems a little close don't you think ?
>>
>
> dil is not dill (notice the extra "L" you've added at the end?)
> dil is a Turkish work for "language" so it represents the intention of
> the project (a D language compiler).
> Do you always assume that everything you read online is in English?
> that wouldn't be a smart assumption as most of the world has a different
> native language than English.
> would you also assume [for example] that "Ubuntu" is some kind of
> English word/slang?
>
> -- Yigal
Anyone else spot the irony in making that complaint in English?
| |||
February 20, 2008 Re: D slower than C++ in compile time | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Bruce Adams | Bruce Adams wrote: > On Mon, 18 Feb 2008 09:38:29 -0000, Yigal Chripun <yigal100@gmail.com> wrote: > >> Ty Tower wrote: >>> Lars Ivar Igesund Wrote: >>> Dil DIL Hmm in English Dill is a stupid person as well as a herb I didn't know that a Dill is a stupid person ... but maybe that says something about me. ;-) >>> DLL is windows Dynamically Linked Library >>> >>> It all seems a little close don't you think ? Seems fine to me. Actually my first thought was that "dil" could be thought of as an acronym for "D Interface Library" or "D Internationalized Library" or "D Implementation Language", "D Interpreter Library" or somesuch. Very good acronym potential there. And I'm quite fond of dill, to boot. What's not to like? --bb | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply