August 30, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Christopher Wright Attachments:
| Christopher Wright wrote:
> Nick Sabalausky wrote:
>> "Walter Bright" <newshound1@digitalmars.com> wrote in message news:g9a7eg$1k9b$3@digitalmars.com...
>>> BCS wrote:
>>>> We agree on many things but when we can't change DMD all we have left is to argue over the details (some of us think this is "fun")
>>> You can always change gdc, which is based on dmd, to try things out.
>>
>> Mucking around with GCC is an absolute mess (doubly true on windows).
>> Not that I'm disagreeing with you, though. FWIW, a D compiler written
>> in a better language (like D!) would be great for trying things out,
>> but I suppose that's just stating the obvious ;) (BTW, What is LLVM
>> written in? C++, I assume? Haven't really had a chance to look into it
>> yet.)
>
> LLVM is written in a tasteful subset of C++. That's how its writers put it, at least.
Objective-C?
;-)
| |||
August 30, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | Nick Sabalausky wrote:
> "Walter Bright" <newshound1@digitalmars.com> wrote in message news:g9a7eg$1k9b$3@digitalmars.com...
>> BCS wrote:
>>> We agree on many things but when we can't change DMD all we have left is to argue over the details (some of us think this is "fun")
>> You can always change gdc, which is based on dmd, to try things out.
>
> Mucking around with GCC is an absolute mess (doubly true on windows). Not that I'm disagreeing with you, though. FWIW, a D compiler written in a better language (like D!) would be great for trying things out, but I suppose that's just stating the obvious ;) (BTW, What is LLVM written in? C++, I assume? Haven't really had a chance to look into it yet.)
>
Working on the dmd frontend within gdc isn't that bad at all. The instructions on how to compile gdc were understandable last time I tried it (though admitedly I'd built gcc on more than one occasion prior to being introduced to d). From there, for the vast majority of any changes, you wouldn't even have to look at the gcc or gcc -> dmd glue code. You could look exclusively at the dmd frontend.
Really, it's inertia that keeps more people from playing with the compiler than the actually difficulty of compiling it.
Later,
Brad
| |||
August 30, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
On Sat, Aug 30, 2008 at 10:10 AM, Brad Roberts <braddr@puremagic.com> wrote:
> Working on the dmd frontend within gdc isn't that bad at all. The instructions on how to compile gdc were understandable last time I tried it (though admitedly I'd built gcc on more than one occasion prior to being introduced to d).
You're talking Linux, right? On Linux it is supposedly not so difficult. But the instructions are not so clear for Windows.
--bb
| ||||
September 01, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
Bill Baxter wrote:
> On Sat, Aug 30, 2008 at 10:10 AM, Brad Roberts <braddr@puremagic.com> wrote:
>> Working on the dmd frontend within gdc isn't that bad at all. The instructions on how to compile gdc were understandable last time I tried it (though admitedly I'd built gcc on more than one occasion prior to being introduced to d).
>
> You're talking Linux, right? On Linux it is supposedly not so difficult. But the instructions are not so clear for Windows.
>
> --bb
Yes, on linux. However, I suspect that building under cygwin is pretty easy as well, but I haven't ever tried.
Later,
Brad
| ||||
September 01, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
On Mon, Sep 1, 2008 at 11:34 AM, Brad Roberts <braddr@puremagic.com> wrote:
> Bill Baxter wrote:
>> On Sat, Aug 30, 2008 at 10:10 AM, Brad Roberts <braddr@puremagic.com> wrote:
>>> Working on the dmd frontend within gdc isn't that bad at all. The instructions on how to compile gdc were understandable last time I tried it (though admitedly I'd built gcc on more than one occasion prior to being introduced to d).
>>
>> You're talking Linux, right? On Linux it is supposedly not so difficult. But the instructions are not so clear for Windows.
>>
>> --bb
>
> Yes, on linux. However, I suspect that building under cygwin is pretty easy as well, but I haven't ever tried.
Could be. I think I tried with MinGW and couldn't ever get it working.
--bb
| ||||
September 01, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | Bill Baxter wrote:
> On Mon, Sep 1, 2008 at 11:34 AM, Brad Roberts <braddr@puremagic.com> wrote:
>> Bill Baxter wrote:
>>> On Sat, Aug 30, 2008 at 10:10 AM, Brad Roberts <braddr@puremagic.com> wrote:
>>>> Working on the dmd frontend within gdc isn't that bad at all. The
>>>> instructions on how to compile gdc were understandable last time I tried
>>>> it (though admitedly I'd built gcc on more than one occasion prior to
>>>> being introduced to d).
>>> You're talking Linux, right? On Linux it is supposedly not so
>>> difficult. But the instructions are not so clear for Windows.
>>>
>>> --bb
>> Yes, on linux. However, I suspect that building under cygwin is pretty
>> easy as well, but I haven't ever tried.
>
> Could be. I think I tried with MinGW and couldn't ever get it working.
>
> --bb
It's not that difficult because I managed to do it and I am not an expert at all in compilation toolchain.
The question about GDC is more about who is working on it, it seems that only one developer is contributing (Mr Friedmann) and how it progress.
| |||
September 01, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mosfet | On Mon, Sep 1, 2008 at 5:42 PM, Mosfet <mosfet@anonymous.org> wrote:
> Bill Baxter wrote:
>>
>> On Mon, Sep 1, 2008 at 11:34 AM, Brad Roberts <braddr@puremagic.com> wrote:
>>>
>>> Bill Baxter wrote:
>>>>
>>>> On Sat, Aug 30, 2008 at 10:10 AM, Brad Roberts <braddr@puremagic.com> wrote:
>>>>>
>>>>> Working on the dmd frontend within gdc isn't that bad at all. The
>>>>> instructions on how to compile gdc were understandable last time I
>>>>> tried
>>>>> it (though admitedly I'd built gcc on more than one occasion prior to
>>>>> being introduced to d).
>>>>
>>>> You're talking Linux, right? On Linux it is supposedly not so difficult. But the instructions are not so clear for Windows.
>>>>
>>>> --bb
>>>
>>> Yes, on linux. However, I suspect that building under cygwin is pretty easy as well, but I haven't ever tried.
>>
>> Could be. I think I tried with MinGW and couldn't ever get it working.
>>
>> --bb
>
> It's not that difficult because I managed to do it and I am not an expert at
> all in compilation toolchain.
> The question about GDC is more about who is working on it, it seems that
> only one developer is contributing (Mr Friedmann) and how it progress.
Which toolchain did you use? Linux, Cygwin, or MinGW?
--bb
| |||
September 01, 2008 Re: Why so many theoretical discussions when ... | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | Bill Baxter wrote:
> On Mon, Sep 1, 2008 at 5:42 PM, Mosfet <mosfet@anonymous.org> wrote:
>> Bill Baxter wrote:
>>> On Mon, Sep 1, 2008 at 11:34 AM, Brad Roberts <braddr@puremagic.com>
>>> wrote:
>>>> Bill Baxter wrote:
>>>>> On Sat, Aug 30, 2008 at 10:10 AM, Brad Roberts <braddr@puremagic.com>
>>>>> wrote:
>>>>>> Working on the dmd frontend within gdc isn't that bad at all. The
>>>>>> instructions on how to compile gdc were understandable last time I
>>>>>> tried
>>>>>> it (though admitedly I'd built gcc on more than one occasion prior to
>>>>>> being introduced to d).
>>>>> You're talking Linux, right? On Linux it is supposedly not so
>>>>> difficult. But the instructions are not so clear for Windows.
>>>>>
>>>>> --bb
>>>> Yes, on linux. However, I suspect that building under cygwin is pretty
>>>> easy as well, but I haven't ever tried.
>>> Could be. I think I tried with MinGW and couldn't ever get it working.
>>>
>>> --bb
>> It's not that difficult because I managed to do it and I am not an expert at
>> all in compilation toolchain.
>> The question about GDC is more about who is working on it, it seems that
>> only one developer is contributing (Mr Friedmann) and how it progress.
>
> Which toolchain did you use? Linux, Cygwin, or MinGW?
>
> --bb
cygwin and linux
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply