February 20, 2012 Questions about windows support | ||||
---|---|---|---|---|
| ||||
1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?) 2) Will dmd support exporting/importing data symbols from dlls? I know there is a patch that does the data symbol address patching from the runtime but thats a feature that should be supported by the compiler directly in my eyes. 3) Am I mistaken or are most of the people here using dmd under linux? General bugs or linux only bugs tend to get fixed a lot faster then windows only bugs. Kind Regards Benjamin Thaut |
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote:
> 1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?)
Neither support 64-bit. So, the changes required to the toolchain are _far_ greater for 64-bit Windows than the Posix OSes. It'll come eventually, but probably not for a while.
- Jonathan M Davis
|
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote: > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote: > > 1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?) > > Neither support 64-bit. So, the changes required to the toolchain are _far_ greater for 64-bit Windows than the Posix OSes. It'll come eventually, but probably not for a while. [...] Does gdc support 64-bit? AFAIK it should, since it uses the gcc backend. T -- Computerese Irregular Verb Conjugation: I have preferences. You have biases. He/She has prejudices. -- Gene Wirchenko |
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
On Monday, February 20, 2012 15:00:28 H. S. Teoh wrote:
> On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote:
> > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote:
> > > 1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?)
> >
> > Neither support 64-bit. So, the changes required to the toolchain are _far_ greater for 64-bit Windows than the Posix OSes. It'll come eventually, but probably not for a while.
>
> [...]
>
> Does gdc support 64-bit? AFAIK it should, since it uses the gcc backend.
As I understand it, it does, but I've never used it.
- Jonathan M Davis
|
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
On Mon, Feb 20, 2012 at 06:00:14PM -0500, Jonathan M Davis wrote: > On Monday, February 20, 2012 15:00:28 H. S. Teoh wrote: > > On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote: > > > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote: > > > > 1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?) > > > > > > Neither support 64-bit. So, the changes required to the toolchain are _far_ greater for 64-bit Windows than the Posix OSes. It'll come eventually, but probably not for a while. > > > > [...] > > > > Does gdc support 64-bit? AFAIK it should, since it uses the gcc backend. > > As I understand it, it does, but I've never used it. [...] Well, I guess my question was more along the lines of, does it provide any 64-bit specific advantages? I've been using gdc as my main D compiler, and I'm running 64-bit Linux. Seems to work fine. T -- If you want to solve a problem, you need to address its root cause, not just its symptoms. Otherwise it's like treating cancer with Tylenol... |
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
On Monday, February 20, 2012 15:04:02 H. S. Teoh wrote:
> On Mon, Feb 20, 2012 at 06:00:14PM -0500, Jonathan M Davis wrote:
> > On Monday, February 20, 2012 15:00:28 H. S. Teoh wrote:
> > > On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote:
> > > > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote:
> > > > > 1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?)
> > > >
> > > > Neither support 64-bit. So, the changes required to the toolchain are _far_ greater for 64-bit Windows than the Posix OSes. It'll come eventually, but probably not for a while.
> > >
> > > [...]
> > >
> > > Does gdc support 64-bit? AFAIK it should, since it uses the gcc backend.
> >
> > As I understand it, it does, but I've never used it.
>
> [...]
>
> Well, I guess my question was more along the lines of, does it provide any 64-bit specific advantages? I've been using gdc as my main D compiler, and I'm running 64-bit Linux. Seems to work fine.
dmd, gdc, and ldc all use the same front-end. So, aside from code generation, they should be essentially identical. It's whatever the backend does with code generation that results in the difference (such as using COFF instead of OMF on Windows or using a different set of optimizations).
- Jonathan M Davis
|
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | > 1) Is there a chance that dmd will support 64 bit on windows any time soon? No. gdc will remain the only option for quite a while. But that's better than dealing with optlink anyway. > 3) Am I mistaken or are most of the people here using dmd under linux? Yeah, definitely more of a pleasure. |
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
On 21 February 2012 12:00, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote:
>> On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote:
>> > 1) Is there a chance that dmd will support 64 bit on windows any time soon? What are the issues currently with 64 bit support on windows? (optlink? backend?)
>>
>> Neither support 64-bit. So, the changes required to the toolchain are _far_ greater for 64-bit Windows than the Posix OSes. It'll come eventually, but probably not for a while.
> [...]
>
> Does gdc support 64-bit? AFAIK it should, since it uses the gcc backend.
>
>
> T
>
> --
> Computerese Irregular Verb Conjugation: I have preferences. You have biases. He/She has prejudices. -- Gene Wirchenko
I use DMD64 on Linux, and it works fine, it puts out 64bit binaries no problem, and it uses the system linker.
Windows has not, historically, been a pleasant platform to develop lower-level code for, the default console hasn't been updated in decades (I know that powershell exists), and windows seems to act as if you either use Visual Studio (and .NET) or you aren't a real programmer...
--
James Miller
|
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On Tuesday, February 21, 2012 00:08:32 Trass3r wrote:
> > 3) Am I mistaken or are most of the people here using dmd under linux?
>
> Yeah, definitely more of a pleasure.
It may be better on the Posix systems, but there are definitely quite a few folks around here who program primarily on Windows, many of whom are major contributors. I don't know which OS most people around here use primarily, let alone the D community as a whole. But I don't think that there's much question that the situation on Windows is the worst of the supported platforms.
- Jonathan M Davis
|
February 20, 2012 Re: Questions about windows support | ||||
---|---|---|---|---|
| ||||
Posted in reply to James Miller | On Monday, 20 February 2012 at 23:12:36 UTC, James Miller wrote:
> Windows has not, historically, been a pleasant platform to develop lower-level code for
I couldn't disagree with that more, especially if you're comparing
to something like linux. The linux console is a big pain.
dmd works pretty well on Windows (building 32 bit apps, no 64).
The biggest problem is good old optlink, while the best of the
bunch in the 90's, doesn't work so well with all the newer
stuff people want to use today.
Can't really blame Windows for that, though.
|
Copyright © 1999-2021 by the D Language Foundation