Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 29, 2012 dmd2 | ||||
---|---|---|---|---|
| ||||
Hey guys, I know this is a bit late given the deprecation of D1 and all, but why did we name the D2 compiler dmd instead of dmd2? It's rather annoyed me when trying to work with multiple D projects of mixed kind in the same environment. Using the same compiler name for two different programming languages seems like a Bad Idea. - Chad |
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad J | On 29/01/2012 16:24, Chad J wrote: > Hey guys, > > I know this is a bit late given the deprecation of D1 and all, but why > did we name the D2 compiler dmd instead of dmd2? > > It's rather annoyed me when trying to work with multiple D projects of > mixed kind in the same environment. Using the same compiler name for two > different programming languages seems like a Bad Idea. > > - Chad Check out dvm, it's really useful in this kind of situation. https://bitbucket.org/doob/dvm/wiki/Home You can simply do: dvm use 1.072 dvm use 2.057 etc to switch to the relevant toolchain. -- Robert http://octarineparrot.com/ |
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad J | On Sunday, 29 January 2012 at 16:25:00 UTC, Chad J wrote:
> Hey guys,
>
> I know this is a bit late given the deprecation of D1 and all, but why did we name the D2 compiler dmd instead of dmd2?
>
> It's rather annoyed me when trying to work with multiple D projects of mixed kind in the same environment. Using the same compiler name for two different programming languages seems like a Bad Idea.
>
> - Chad
I suspect the reason is because the two languages aren't really meant to co-exist together. D2 and D1 are just different versions of D. It's like C++11 and C++03, it's *not* like C++ and C, which are different languages.
|
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad J | On Sun, 29 Jan 2012 17:24:43 +0100, Chad J <chadjoan@__spam.is.bad__gmail.com> wrote: > Hey guys, > > I know this is a bit late given the deprecation of D1 and all, but why did we name the D2 compiler dmd instead of dmd2? > > It's rather annoyed me when trying to work with multiple D projects of mixed kind in the same environment. Using the same compiler name for two different programming languages seems like a Bad Idea. > > - Chad The FreeBSD port does installs it as dmd2. |
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad J | On 29/01/2012 16:24, Chad J wrote: > Hey guys, > > I know this is a bit late given the deprecation of D1 and all, but why did we name the D2 > compiler dmd instead of dmd2? I'm not sure. Was D2 originally planned to be backward compatible with D1? > It's rather annoyed me when trying to work with multiple D projects of mixed kind in the > same environment. Using the same compiler name for two different programming languages > seems like a Bad Idea. If they are versions of one language (such that version 1 code generally works under version 2 just the same), it can be annoying to have to type in a version number in order to launch the compiler from the command line. But I suppose D1 and D2 are now sufficiently incompatible with each other to be considered different languages. So the compilers probably ought to have different names. I have both D1 and D2 installed, and while working mainly with D1 I have been known to use a batch file called dmd2 to run the compiler for that language on the odd occasions I want it. Now that I'm migrating my projects to D2, I may well start doing the reverse.... Stewart. |
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad J | On 1/29/2012 10:24 AM, Chad J wrote:
> Hey guys,
>
> I know this is a bit late given the deprecation of D1 and all, but why
> did we name the D2 compiler dmd instead of dmd2?
>
> It's rather annoyed me when trying to work with multiple D projects of
> mixed kind in the same environment. Using the same compiler name for two
> different programming languages seems like a Bad Idea.
>
> - Chad
On an unrelated note it looks like D would have to get to 14 or 15 before typing in D14 on google search all by itself would likely be a #1 hit without additional keywords :)
|
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Cavanaugh | On 01/29/2012 06:55 PM, Sean Cavanaugh wrote: > On 1/29/2012 10:24 AM, Chad J wrote: >> Hey guys, >> >> I know this is a bit late given the deprecation of D1 and all, but why >> did we name the D2 compiler dmd instead of dmd2? >> >> It's rather annoyed me when trying to work with multiple D projects of >> mixed kind in the same environment. Using the same compiler name for two >> different programming languages seems like a Bad Idea. >> >> - Chad > > > On an unrelated note it looks like D would have to get to 14 or 15 > before typing in D14 on google search all by itself would likely be a #1 > hit without additional keywords :) > ??? http://www.google.com/search?q=d |
January 29, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | On Sunday, January 29, 2012 17:48:04 Stewart Gordon wrote: > On 29/01/2012 16:24, Chad J wrote: > > Hey guys, > > > > I know this is a bit late given the deprecation of D1 and all, but why did we name the D2 compiler dmd instead of dmd2? > > I'm not sure. Was D2 originally planned to be backward compatible with D1? No. They determined that they were going to redesign the language based on what was learned with D1 and make something better. I suppose that it's a bit like python 2 and 3 in that regard, except that D1 has never had the user base that python 2 has had (python being much older than D, if nothing else). But in both cases, the next version of the language is supposed to supplant the previous one. It just takes time to do that. > > It's rather annoyed me when trying to work with multiple D projects of mixed kind in the same environment. Using the same compiler name for two different programming languages seems like a Bad Idea. > > If they are versions of one language (such that version 1 code generally works under version 2 just the same), it can be annoying to have to type in a version number in order to launch the compiler from the command line. > > But I suppose D1 and D2 are now sufficiently incompatible with each other to be considered different languages. So the compilers probably ought to have different names. > > I have both D1 and D2 installed, and while working mainly with D1 I have been known to use a batch file called dmd2 to run the compiler for that language on the odd occasions I want it. Now that I'm migrating my projects to D2, I may well start doing the reverse.... D2 has always been intended to replace D1. I don't think that Walter ever planned for them to coexist in the long term (though he's not against anyone continuing to use D1 if they want to). So, none of the decisions (such as keeping the compiler named dmd rather than dmd2) really seemed to have been made with the idea of promoting coexistance. - Jonathan M Davis |
January 30, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On 1/29/2012 3:37 PM, Timon Gehr wrote:
> On 01/29/2012 06:55 PM, Sean Cavanaugh wrote:
>> On 1/29/2012 10:24 AM, Chad J wrote:
>>> Hey guys,
>>>
>>> I know this is a bit late given the deprecation of D1 and all, but why
>>> did we name the D2 compiler dmd instead of dmd2?
>>>
>>> It's rather annoyed me when trying to work with multiple D projects of
>>> mixed kind in the same environment. Using the same compiler name for two
>>> different programming languages seems like a Bad Idea.
>>>
>>> - Chad
>>
>>
>> On an unrelated note it looks like D would have to get to 14 or 15
>> before typing in D14 on google search all by itself would likely be a #1
>> hit without additional keywords :)
>>
>
> ???
>
> http://www.google.com/search?q=d
>
D Magazine is #1 for me, which is all about things to do in Dallas. The digital mars page is #17 on page 2, wikipedia article on D is #4
|
January 30, 2012 Re: dmd2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Cavanaugh | On Sun, Jan 29, 2012 at 07:22:24PM -0600, Sean Cavanaugh wrote: > On 1/29/2012 3:37 PM, Timon Gehr wrote: [...] > >http://www.google.com/search?q=d > > > > D Magazine is #1 for me, which is all about things to do in Dallas. The digital mars page is #17 on page 2, wikipedia article on D is #4 Huh? I guess google must be returning location-specific results. I get en.wikipedia.org/wiki/D_(programming_language) as #1, and www.d-programming-language.org/ as #3. T -- Государство делает вид, что платит нам зарплату, а мы делаем вид, что работаем. |
Copyright © 1999-2021 by the D Language Foundation